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>@code_typed optimize=true not_a_call
ERROR:function error does not accept keyword arguments
Stacktrace:
[1] kwfunc(::Any) at ./boot.jl:332
[2] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/InteractiveUtils/src/macros.jl:143
julia>@macroexpand@code_typed optimize=true no_a_call
quote#= /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/InteractiveUtils/src/macros.jl:143 =#var"#139#results"= InteractiveUtils.error("expression is not a function call or symbol", optimize=true)
#= /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/InteractiveUtils/src/macros.jl:144 =#if InteractiveUtils.length(var"#139#results") ==1var"#139#results"[1]
elsevar"#139#results"endend
Note the keyword argument optimize=true in InteractiveUtils.error("...", optimize=true).
This happens with 1.3 and 1.4.0-DEV.634.
The text was updated successfully, but these errors were encountered:
Incidentally fixed by #35522 I believe? It now appears like
julia>@code_typed optimize=true not_a_call
ERROR: expression is not a function call or symbol
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] top-level scope at /home/liozou/julia/usr/share/julia/stdlib/v1.6/InteractiveUtils/src/macros.jl:220
Note the keyword argument
optimize=true
inInteractiveUtils.error("...", optimize=true)
.This happens with 1.3 and 1.4.0-DEV.634.
The text was updated successfully, but these errors were encountered: