Shuhei Kadowaki
Shuhei Kadowaki
After #34, you should switch to the following pattern: ```julia using CassetteOverlay struct ParamLens end function (🔍::ParamLens)(; kwargs...) @show "ParamLens", kwargs nothing end @MethodTable ParamInterpTable mutable struct ParamInterp
It seems to be another bug.
For the time being, you can define the following overload: ```julia # a temporal fix for #33 @inline (::ParamInterp)(::typeof(Base.typename), @nospecialize args...) = Base.typename(args...) ``` to circumvent the issue. Hopefully we...
I opened a new issue #45 with a reduced example. Let's focus on this issue there.
> since JET is the only other (besides Revise) direct dependent of LoweredCodeUtils, I thought we should coordinate about this before I take any steps to implement this. Thank you...
> With the exception of the line evaluating `z2` (which is the easiest one to avoid), basically everything is marked. I'll try the converse and see what's missing in JET,...
> Yes, it is a missing gc_wb that cannot be added to that design Would adding some sort of GC annotation to `jl_code_for_staged` solve the issue, or is a larger...
Reduced to: ```julia ulia> report_opt(string, (String,Tuple{Base.OneTo{Int}},String,Tuple{Base.OneTo{Int}})) ═════ 4 possible errors found ═════ ┌ string(::String, ::Tuple{Base.OneTo{Int64}}, ::String, ::Tuple{Base.OneTo{Int64}}) @ Base ./strings/io.jl:189 │┌ print_to_string(::String, ::Tuple{Base.OneTo{Int64}}, ::String, ::Tuple{Base.OneTo{Int64}}) @ Base ./strings/io.jl:150 ││┌ _unsafe_take!(io::IOBuffer)...
I'm working on rebasing this.
@nanosoldier `runbenchmarks("inference", vs=":master")`