We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
catch
finally
This mal-formed input:
try foo( arg1 arg2(), ) finally end
gives a confusing error about the try:
try
ERROR: LoadError: ParseError: # Error @ /home/topolarity/repos/julia3/syntax_mwe.jl:1:1 ┌── try foo( ⋮ arg2(), ) #──┘ ── try without catch or finally
To my human eye, the scoping here all looks correct, so I was surprised not to be told about the missing ,
,
If you change arg2() to arg2, this gives a better error:
arg2()
arg2
ERROR: LoadError: ParseError: # Error @ /home/topolarity/repos/julia3/syntax_mwe.jl:4:9 arg1 arg2, # └───┘ ── Expected `)`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This mal-formed input:
gives a confusing error about the
try
:To my human eye, the scoping here all looks correct, so I was surprised not to be told about the missing
,
If you change
arg2()
toarg2
, this gives a better error:The text was updated successfully, but these errors were encountered: