-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling of a newline in ternary operator in REPL #28576
Labels
parser
Language parsing and surface syntax
Comments
I just checked it in 0.7.0-rc2 and it accepted newlines in the REPL without a warning. |
JeffBezanson
added a commit
that referenced
this issue
Aug 11, 2018
KristofferC
pushed a commit
that referenced
this issue
Aug 19, 2018
KristofferC
pushed a commit
that referenced
this issue
Aug 19, 2018
Merged
KristofferC
pushed a commit
that referenced
this issue
Aug 19, 2018
KristofferC
pushed a commit
that referenced
this issue
Sep 8, 2018
KristofferC
pushed a commit
that referenced
this issue
Sep 8, 2018
KristofferC
pushed a commit
that referenced
this issue
Feb 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a similar issue to #28506 but with ternary operator.
When
x ? y : z
is used in scripts it can be split into two lines e.g. like this:or like this
However, in REPL it is an error (even if actually there is a space after
?
or:
before a newline), e.g.:The text was updated successfully, but these errors were encountered: