Bugs: error translation
Robert Field
robert.field at oracle.com
Wed Mar 18 20:55:16 UTC 2015
On 03/18/15 04:13, andrei.eremeev wrote:
> Hi REPL team,
>
> Bugs:
> 1. "import" followed by "new" cannot be completed. REPL always waits
> for more input.
> > import new java.util.List;
Added to TODO.
>
> 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
Fixed.
>
> 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
Fixed.
>
> 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
Fixed.
Thanks for the reports.
Note that end position is exclusive, so I have adjusted the expected
position values.
-Robert
>
> Andrei Eremeev
More information about the kulla-dev
mailing list