Bugs

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Feb 2 17:21:56 UTC 2015


On 02/02/2015 07:33 AM, andrei.eremeev wrote:
> 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.

Andrei,

Did you really mean what you typed in the example, with no '{' ?
Doesn't seem like COMPLETE_WITH_SEMI to me.

-- Jon

>
> 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