rascal icon indicating copy to clipboard operation
rascal copied to clipboard

Continuation prompt shown while parse error is not at the end of line

Open jurgenvinju opened this issue 6 months ago • 0 comments

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

jurgenvinju avatar May 13 '25 07:05 jurgenvinju