You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>softscope_include_string(Main, "begin\n3\nx ++++ y\nend")
ERROR: LoadError: syntax:"++" is not a unary operator
Stacktrace:
[1] softscope_include_string(::Module, ::String, ::String) at /Users/stevenj/.julia/dev/SoftGlobalScope/src/SoftGlobalScope.jl:201
[2] softscope_include_string(::Module, ::String) at /Users/stevenj/.julia/dev/SoftGlobalScope/src/SoftGlobalScope.jl:192
[3] top-level scope at none:0
in expression starting at string:1
julia>include_string(Main, "begin\n3\nx ++++ y\nend")
ERROR: LoadError: syntax:"++" is not a unary operator
Stacktrace:
[1] include_string(::Module, ::String, ::String) at ./loading.jl:1002
[2] include_string(::Module, ::String) at ./loading.jl:1006
[3] top-level scope at none:0
in expression starting at string:3
Notice that we are giving the syntax error at string:1 rather than at string:3.
The text was updated successfully, but these errors were encountered:
Notice that we are giving the syntax error at
string:1
rather than atstring:3
.The text was updated successfully, but these errors were encountered: