-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
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
type mismatch between left and right labels in left-recursive rule #1543
Comments
I'm working on this one today. |
sharwell
added a commit
to sharwell/antlr4
that referenced
this issue
Jan 2, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We thought we fixed this in #195 (comment) but here's another case reported:
@ferhaterata says: provided a Grammar that ANTLR generates recognizer in 4.5.1 and 4.5.3 but fails in 4.6.1. The labels 'left' and 'right' represent two different types. Sorry for preparing a verbose grammar.
It throws
In fact, this one works fine,
I assume the problem occurs once repetitions are allowed in labels.
The text was updated successfully, but these errors were encountered: