We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeScript Version: 2.6.2
Code
https://github.com/sharwell/antlr4ts/blob/c9a8ef86fbdfc7f027916b5b281dac322495ca55/src/atn/LL1Analyzer.ts#L251
Expected behavior:
When the line is reached, t has the type Transition.
t
Transition
Actual behavior:
When the line is reached, t has the inferred type never. We are forced to work around the issue by explicitly casting and reassigning the variable.
never