We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my library I use Cassette for function tracing and have encountered some errors. Have boiled it down to a minimal example:
using Cassette, ColorTypes Cassette.@context Ctx Base.typename(RGBA) # works without issues Cassette.overdub(Ctx(), Base.typename, RGBA)
The last call fails with the following stack trace
ERROR: type DataType has no field body Stacktrace: [1] getproperty @ ./Base.jl:33 [inlined] [2] call @ ~/.julia/packages/Cassette/4Z3UO/src/context.jl:456 [inlined] [3] fallback @ ~/.julia/packages/Cassette/4Z3UO/src/context.jl:454 [inlined] [4] overdub @ ~/.julia/packages/Cassette/4Z3UO/src/context.jl:279 [inlined] [5] typename(::Type{RGBA}) @ ./essentials.jl:327 [inlined] [6] overdub @ ./essentials.jl:327 [inlined] [7] overdub(::Cassette.Context{nametype(Ctx), Nothing, Nothing, Cassette.var"##PassType#322", Nothing, Nothing}, ::typeof(Base.typename), ::Type{RGBA}) @ Cassette ~/.julia/packages/Cassette/4Z3UO/src/overdub.jl:0 [8] typename(::Type{RGBA}) @ ./essentials.jl:327 [inlined] [9] overdub @ ./essentials.jl:327 [inlined] [10] overdub(::Cassette.Context{nametype(Ctx), Nothing, Nothing, Cassette.var"##PassType#322", Nothing, Nothing}, ::typeof(Base.typename), ::Type{RGBA}) @ Cassette ~/.julia/packages/Cassette/4Z3UO/src/overdub.jl:0 [11] top-level scope @ REPL[4]:1
Guess that this is an issue in Cassette ... any ideas?
The text was updated successfully, but these errors were encountered:
What version of Julia?
Sorry, something went wrong.
Julia Version 1.8.2 Commit 36034abf260 (2022-09-29 15:21 UTC) Cassette v0.3.11
No branches or pull requests
In my library I use Cassette for function tracing and have encountered some errors. Have boiled it down to a minimal example:
The last call fails with the following stack trace
Guess that this is an issue in Cassette ... any ideas?
The text was updated successfully, but these errors were encountered: