We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As described in #261, the generated accessor AContext.b() has the wrong return type for the following grammar:
AContext.b()
grammar Test; a : b? c d* d+ ; b : ID; c : ID; d : ID; e : ID;
export class AContext extends ParserRuleContext { b(): BContext | undefined; c(): CContext; d(): DContext[]; d(i: number): DContext; e(): EContext[]; e(i: number): EContext; // ... }
export class AContext extends ParserRuleContext { b(): BContext; c(): CContext; d(): DContext[]; d(i: number): DContext; e(): EContext[]; e(i: number): EContext; // ... }
export class AContext extends ParserRuleContext { - b(): BContext; + b(): BContext | undefined; c(): CContext; d(): DContext[]; d(i: number): DContext; e(): EContext[]; e(i: number): EContext; // ... }
/cc @mike-lischke
The text was updated successfully, but these errors were encountered:
📝 Currently blocked on tunnelvisionlabs/antlr4#15.
Sorry, something went wrong.
Implement support for optional token and rule getters
333aac5
Fixes tunnelvisionlabs#265
2f0eae7
03cec75
sharwell
No branches or pull requests
As described in #261, the generated accessor
AContext.b()
has the wrong return type for the following grammar:Expected signatures:
Actual signatures:
Difference we want to see (actual → expected)
/cc @mike-lischke
The text was updated successfully, but these errors were encountered: