-
Notifications
You must be signed in to change notification settings - Fork 138
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
ElidedSemicolonAndRightBrace in compile error message #903
Comments
@trancexpress Am planning to work with a couple of newcomers (already identified) for this - hence self-assigned for now. |
Sounds great! If possible, can you look into #859, #367, and #125 as well? They seems to be very related to this bug. Possibly all can be fixed with the same change. See also the comment from Stephan here: #125 (comment) There seems to be some complicated workaround for lambdas, that is maybe not necessary anymore. To my understanding, this workaround is the cause for the unexpected error message here. |
I don't think this qualifies as a good-first-issue. Nothing to do with DiagnoseParse qualifies as a "good" issue or a "first" issue let alone a "good first" issue (guffaw) |
You may want to look at the decidedly low-tech solution adopted for #367 |
point taken - removed the assignment for now. |
Found during experiments for #859.
To reproduce, compile snippet:
Observe compile error from
ecj
(4.27):Compile error from
javac
(OpenJDK 17):This seems to not be expected (unsurprisingly), see
ProblemReporter.replaceIfSynthetic(String)
:The text was updated successfully, but these errors were encountered: