Open mbauman opened 5 years ago
Hm this is weird, looking at it with Cthulhu it almost seems like we stashed a DataType
in the args, but expected a Union...
Happens here to: https://github.com/maleadt/BasePkgEvalReports/blob/0bb12607c245153c8e7215788e580d43d7d2d51a/pkgeval-9bd498d_vs_2e6715c/logs/SimpleMock/1.4.0-DEV-082f446f52.log (when testing SimpleMock.jl).
@KristofferC Hey, any updates on this issue? Thanks.
I also ran into #142 (which was closed as a duplicate of this issue) when trying to use SimpleMock
in one of my projects.
encountered this issue with Luxor
; while using sethue
boiled down to the same error when using supertype
on RGBA
in Colors
julia> Cassette.overdub(ctx(),Colors.parse,RGBA,"red")
ERROR: type DataType has no field var
Stacktrace:
[1] getproperty
@ ./Base.jl:37 [inlined]
[2] call
@ ~/.julia/packages/Cassette/1lyEM/src/context.jl:456 [inlined]
[3] fallback
@ ~/.julia/packages/Cassette/1lyEM/src/context.jl:454 [inlined]
[4] overdub
@ ~/.julia/packages/Cassette/1lyEM/src/context.jl:279 [inlined]
[5] overdub
@ ./operators.jl:50 [inlined]
[6] overdub(::Cassette.Context{nametype(ctx), Nothing, Nothing, Cassette.var"##PassType#276", Nothing, Nothing}, ::typeof(supertype), ::Type{RGBA})
@ Cassette ~/.julia/packages/Cassette/1lyEM/src/overdub.jl:0
[7] overdub
@ ./operators.jl:50 [inlined]
[8] overdub(::Cassette.Context{nametype(ctx), Nothing, Nothing, Cassette.var"##PassType#276", Nothing, Nothing}, ::typeof(supertype), ::Type{RGBA})
@ Cassette ~/.julia/packages/Cassette/1lyEM/src/overdub.jl:0