-
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] Parsing fails if a Java keyword appears in a qualified name #5818
Comments
package
appears in a qualified namepackage
appears in a qualified name
package
appears in a qualified name
@yurloc As we discussed in #5819 , we would go for the direction "Add Java keywords to drlIdentifier " for backward compatibility (= focus on passing existing tests). After the phase, we would re-consider such issues like dropping useless syntax / ambiguity. Feel free to share if you have any concern. Thanks! |
|
No concerns. I think this is the best solution for the time being.
|
Fixed by #5958. |
Parent issue
Failing tests
org.kie.declarativetypes.JavaBeansEventRoleTest#testImportBean
org.drools.mvel.integrationtests.ExtendsTest#testDeclareExtendsWithFullyQualifiedName
Description
package
translates to thePACKAGE
token, which is unexpected in the package's qualified name.Rule code snippet
Error output
Updated:
Originally when this issue was reported:
The text was updated successfully, but these errors were encountered: