rascal
rascal copied to clipboard
Continuation prompt shown while parse error is not at the end of line
Describe the bug
rascal>$2013-07-40T09:15:23.123+03:00$;
│2 >>>>
This is expected to be a ParseError at the "-40", which is not at the end of the input.
The repl currently shows a continuation prompt instead of the ParseError.
See also https://www.rascal-mpl.org/docs/Rascal/Errors/CompileTimeErrors/DateTimeSyntax/ for the correct behavior:
rascal>$2013-07-40T09:15:23.123+03:00$;
^ Parse error here
ok