-
Notifications
You must be signed in to change notification settings - Fork 49
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
MethodError: no method matching String(::Expr) #266
Comments
Ok. These should be all |
A workaround which might just produce incorrect results yet it works for what I needed it to was to replace name = String(name)::String with name = string(name)::String |
I'd be fine with a PR that does that, especially if it came with a test! I don't know how to trigger this, but if you do... |
Yeah, it's most likely wrong for the |
Yeah, I'm hitting this as well when benchmarking code. I can share a private reproducer if you want @timholy |
Yeah, I'd take a reproducer! |
It's not minimal, but I'll e-mail it. |
@pkofod did you manage to find out the root cause? |
Hello! Is any thoughts how to fix it locally? |
Recommended practice these days is to use SnoopPrecompile. I'd recommend switching. |
Julia 1.5.4, SnoopCompile 2.7.1
yields
it's this line
SnoopCompile.jl/src/parcel_snoopc.jl
Line 89 in 5ad2f24
Seems like there is a test covering that very method. If I manage to fix that issue I will submit a pr
SnoopCompile.jl/test/colortypes.jl
Line 4 in a75d418
The text was updated successfully, but these errors were encountered: