[#1037] | project: interpreter | priority: medium | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Lex | Lex | fixed | 2007-04-04 18:15:22.0 | |
subject | interpreter continues after errors | |||
code |
[1,2,3] |
|||
what happened | $ scala This is an interpreter for Scala. Type in expressions to have them evaluated. Type :help for more information. scala> [1,2,3] |
|||
what expected | It should return to the top-level prompt instead of asking for more input. | |||
[back to overview] |
Lex edited on 2007-04-04 18:15:39.0 |
Lex edited on 2007-06-03 14:22:18.0 |
Parser is now fixed to only call "can continue" if there is not already a fatal syntax error earlier in the string. This fixes many cases where the parser would find an error, keep going, and then signal an "incomplete" error at the end of input. Now such cases are reported as normal syntax errors. |