JuliaSyntax.jl
JuliaSyntax.jl copied to clipboard
Unclear error message for invalid string
New users may not know that $ (or some other character) has a special meaning in Julia, in which case this error is confusing:
julia> str = "hello $x$"
ERROR: ParseError:
# Error @ REPL[26]:1:17
str = "hello $x$"
# └ ── identifier or parenthesized expression expected after $ in string
Hi @c42f, is this issue fixed? I am a new contributor and want to work on it ^^'
Hi @c42f, is this issue fixed? I am a new contributor and want to work on it ^^'
Nope, but this looks like a great first issue! Feel free to make a PR :)
I don't see anything 'unclear' about the error message. But it would be nice if the error message nudged me in the right direction:
identifier or parenthesized expression expected after $ in string. Did you want a raw"..." string literal?