The following ERROR
seems to have a misleading text. Actually a ,
is missing before :B
.
Same for Version 0.7.0-DEV.2276
.
Obviously the second colon is parsed as a binary operator.
Wouldn’t it be a good idea to disallow binary operator :
or binary operators in general at the start of a line?
| | |_| | | | (_| | | Version 0.6.0 (2017-06-19 13:05 UTC)
_/ |\__'_|_|_|\__'_| |
|__/ | x86_64-redhat-linux
julia> Dict(
:A => sin(1)
:B => sin(2)
)
ERROR: UndefVarError: B not defined
Stacktrace:
[1] macro expansion at ./REPL.jl:97 [inlined]