-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
julia 1.6 beta #72
Comments
What if you try
|
Ouch, julia> :(@> 1 2)
:(#= REPL[8]:1 =# @Error showing value of type Expr:
ERROR: MethodError: no method matching is_syntactic_operator(::String)
Closest candidates are:
is_syntactic_operator(::Symbol) at show.jl:1221
Stacktrace:
[1] is_valid_identifier
@ ./show.jl:1399 [inlined]
[2] show_sym(io::IOContext{Base.TTY}, sym::String; allow_macroname::Bool)
@ Base ./show.jl:1438 That sounds like something a bug that should be filed in julialang. |
It's JuliaLang/julia#39156, but somehow I don't think this will solve the whole problem. Let's wait for the next release... |
Fixed in v1.6.0-rc1. |
Testing some of my code with julia 1.6-beta throws an error with the
@memoize
macro. It's an unusual case with an easy workaround. I am reporting it here because it suggests that something changed under the hood, which might break other use cases as well.This construct works fine in julia 1.5.3
which evaluates to 0.8938. In julia 1.6
throws:
@memoize must be applied to a method definition
The
@as
threading macro from Lazy.jl does work as expected, so it can be used as an easy workaround.P.S. Tested with Lazy v0.15.1 and Memoize v0.4.4
The text was updated successfully, but these errors were encountered: