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
Issue #3239: added receiver parameter to java grammar #3260
Conversation
Current coverage is 100%@@ master #3260 diff @@
==========================================
Files 276 276
Lines 13948 13948
Methods 0 0
Messages 0 0
Branches 3236 3236
==========================================
Hits 13948 13948
Misses 0 0
Partials 0 0
|
http://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.4.1
from spec
"instance methods" does it work for static methods ? side note: as we already have limitation that we work on compilable sources, ..... our grammar could be relaxed to verify structure correctly and just expect that all is fine and make a tree. What do you think ? |
That is correct. I just modified
I will do this. We already call
No, eclipse gives the error
Just so I understand correctly. I am fine with that. Even the JLS makes additions saying grammar will accept some things, but compile time checks must reject them after the grammar, like static methods with receivers. There are other areas where we do this. |
Done. |
Issue #3239
parameterIdent
was created in the grammar so everything would fall underid
.