tunnelvisionlabs / antlr4ts

Optimized TypeScript target for ANTLR 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

message: line 0:-1 no viable alternative at input '<ID><ID>'

BurtHarris opened this issue · comments

the test named testPatternMatchesStartRule2 seems to be generating the above message while executing. The test passes, but it doesn't even seem to test the type of the expected exception.

@sharwell, is this message expected?

   √ testPatternMatchesStartRule (54ms)
line 0:-1 no viable alternative at input '<ID><ID>'
   √ testPatternMatchesStartRule2

The test is in file TestParseTreeListener.ts

You probably remember, but the test name that generated the message is listed after the message.