Bugs: error translation

andrei.eremeev andrei.eremeev at oracle.com
Wed Mar 18 11:13:51 UTC 2015


Hi REPL team,

Bugs:
1. "import" followed by "new" cannot be completed. REPL always waits for 
more input.
 > import new java.util.List;

2. String f();
Position points to incorrect error location. Start position is 0, end 
position is 0, position is 0. While it should be 7, 7, 7.
See MethodsTest#methodsErrors

3. int g  = x;
Position points to incorrect error location. Start position is 8, end 
position is 0, position is 0. While it should be 8, 8, 8.
See SimpleRegressionTest# testCannotResolve

4. Position points to incorrect error location. Start position is 0, end 
position is 0, position is 0. While it should be 0, 3, 0.
See VariablesTest#variablesErrors

Andrei Eremeev


More information about the kulla-dev mailing list