Bugs
andrei.eremeev
andrei.eremeev at oracle.com
Mon Feb 2 15:33:04 UTC 2015
Hi REPL team,
New REPL bugs related to completion analysis:
1. assert true // Expected COMPLETE_WITH_SEMI, got COMPLETE.
2. switch (ch) case a: break; // Expected COMPLETE_WITH_SEMI, got UNKNOWN.
"break" breaks the code.
3. Statements without braces fail.
for(Object o : a) a; // expected [COMPLETE] but found [UNKNOWN]
As well as If constructions.
4. int path[], status: expected [COMPLETE_WITH_SEMI], but found
[DEFINITELY_INCOMPLETE]
Andrei Eremeev
More information about the kulla-dev
mailing list