Skip to content

C#: Adjust local function TRAP labels#2089

Closed
hvitved wants to merge 1 commit into
github:masterfrom
hvitved:csharp/local-function-label
Closed

C#: Adjust local function TRAP labels#2089
hvitved wants to merge 1 commit into
github:masterfrom
hvitved:csharp/local-function-label

Conversation

@hvitved

@hvitved hvitved commented Oct 6, 2019

Copy link
Copy Markdown
Contributor

Follow-up on #2061. This fixes TRAP import errors like:

[2019-10-06 10:43:44] [ERROR] Autobuilder.cs.trap.gz, 6093: Expected '(' and not LABEL
                              com.semmle.util.exception.CatastrophicError: Expected '(' and not LABEL
                                at com.semmle.inmemory.trap.TRAPReader.expectToken(TRAPReader.java:710)
                                at com.semmle.inmemory.trap.TRAPReader.scanTuple(TRAPReader.java:485)
                                at com.semmle.inmemory.trap.TRAPReader.scanTuplesAndLabels(TRAPReader.java:450)
                                at com.semmle.inmemory.trap.TRAPReader.importTuples(TRAPReader.java:384)
                                at com.semmle.inmemory.trap.DirectImporter.process(DirectImporter.java:158)
                                at com.semmle.inmemory.trap.DirectImporter.lambda$importTrap$0(DirectImporter.java:117)
                                at com.semmle.util.concurrent.FutureUtils.lambda$null$8(FutureUtils.java:137)
                                at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                                at java.lang.Thread.run(Thread.java:748)

@hvitved hvitved added the C# label Oct 6, 2019
@hvitved hvitved requested a review from calumgrant October 6, 2019 17:12
@hvitved hvitved requested a review from a team as a code owner October 6, 2019 17:12
@hvitved hvitved closed this Oct 6, 2019
@hvitved hvitved deleted the csharp/local-function-label branch October 6, 2019 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant