-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[new-parser] Anonymous classes not supported #5932
Comments
|
Probably |
That's the easy solution. I'm not against it as our goal for the ANTL4 rewrite is not to improve the parser's capability. But another solution exists. If you traverse the parser rules according to the parse tree above, you'll find out that Lines 843 to 845 in 8997956
The obvious fix would be to uncomment |
Fixed by #5979 |
Parent issue
Failing tests
org.drools.mvel.integrationtests.Misc2Test#testJittingFunctionReturningAnInnerClass
Notes
At the end of line 3, a semi is expected instead of class body. This is because
DRL6Expressions.g4
overrides theclassCreatorRest
rule and does not allowclassBody?
.Rule code snippet
Error output
The text was updated successfully, but these errors were encountered: