Skip to content

:incomplete detection should properly consider where in the line I am #60017

@Keno

Description

@Keno

In the REPL, if I do

Core.eval(Base.Experimental, quote

and then hit enter, I get the opportunity to write code on a new line because the parser knows that the expression is incomplete.
However, if I write

Core.eval(Base.Experimental, quote)

even with the cursor after the quote, I get a syntax error.
This is a big problem with the latest REPL, because it inserts the close-paren automatically, so
typing the sequence that used to work now breaks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    REPLJulia's REPL (Read Eval Print Loop)parserLanguage parsing and surface syntaxregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions