Skip to content
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

Excessive error messages for incomplete ternary #357

Closed
Keno opened this issue Sep 14, 2023 · 1 comment
Closed

Excessive error messages for incomplete ternary #357

Keno opened this issue Sep 14, 2023 · 1 comment

Comments

@Keno
Copy link
Member

Keno commented Sep 14, 2023

julia> Fact?
ERROR: ParseError:
# Error @ REPL[3]:1:5
Fact?
#   └ ── space required before `?` operator
# Error @ REPL[3]:1:6
Fact?
#    └ ── space required after `?` operator
# Error @ REPL[3]:1:6
Fact?
#    └ ── premature end of input
# Error @ REPL[3]:1:6
Fact?
#    └ ── space required before `:` in `?` expression
# Error @ REPL[3]:1:6
Fact?
#    └ ── `:` expected in `?` expression
# Error @ REPL[3]:1:6
Fact?
#    └ ── space required after `:` in `?` expression
# Error @ REPL[3]:1:6
Fact?
#    └ ── premature end of input
Stacktrace:
 [1] top-level scope
   @ none:1
@c42f
Copy link
Member

c42f commented Nov 14, 2023

This is fixed (or worked around) - we now only print the first error message.

@c42f c42f closed this as completed Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants