Skip to content
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

Tracing function with rand or randn leads to error: "this intrinsic must be compiled to be called" #35

Closed
DilumAluthge opened this issue Aug 27, 2019 · 1 comment

Comments

@DilumAluthge
Copy link
Contributor

Trying to trace a function that calls rand() or randn() leads to the following error: this intrinsic must be compiled to be called.

Example 1

DMBP:~ dilum$ julia
julia> using Traceur

julia> f() = rand() > 0.5 ? 100 : "100"
f (generic function with 1 method)

julia> @trace f()
┌ Warning:  is assigned as Union{Nothing, Tuple{Int64,Int64}}
└ @ array.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Int64,Int64}}
└ @ array.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning: getindex returns Union{Bool, Int64}
└ @ namedtuple.jl:105
┌ Warning: vs is assigned as Union{Nothing, Tuple{Char,Int64}}
└ @ iterators.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Int64}}
└ @ operators.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Int64}}
└ @ operators.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Nothing}}
└ @ strings/io.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Nothing}}
└ @ strings/io.jl:-1
┌ Warning: dynamic dispatch to Base.getindex(φ (%143 => %139, %949 => %943), 1)
└ @ strings/io.jl:-1
┌ Warning: dynamic dispatch to Base.getindex(φ (%143 => %139, %949 => %943), 1)
└ @ strings/io.jl:-1
┌ Warning: dynamic dispatch to Base.getindex(φ (%143 => %139, %949 => %943), 1)
└ @ strings/io.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning: dynamic dispatch to Base.getproperty(Base.Main, Base)
└ @ error.jl:-1
┌ Warning: dynamic dispatch to Base.getproperty(Base.getproperty(Base.Main, Base), SystemError)
└ @ error.jl:-1
┌ Warning: dynamic dispatch to (Base.getproperty(Base.getproperty(Base.Main, Base), SystemError))(p, $(Expr(:foreigncall, :jl_errno, Int32, svec(), 0, :ccall)), extrainfo)
└ @ error.jl:-1
┌ Warning: dynamic dispatch to (Core.apply_type(Base.Val, x))()
└ @ essentials.jl:-1
ERROR: this intrinsic must be compiled to be called
Stacktrace:
 [1] call at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:447 [inlined]
 [2] fallback at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:445 [inlined]
 [3] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Core.IntrinsicFunction, ::String, ::Type{Int64}, ::Type{Tuple{Ptr{Int64}}}, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:481
 [4] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::String, ::Type, ::Type, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [5] getindex at ./atomics.jl:347 [inlined]
 [6] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(getindex), ::Base.Threads.Atomic{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [7] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [8] lock at ./locks-mt.jl:35 [inlined]
 [9] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.Threads.SpinLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [10] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [11] lock at ./condition.jl:74 [inlined]
 [12] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.GenericCondition{Base.Threads.SpinLock}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [13] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [14] lock at ./lock.jl:68 [inlined]
 [15] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::ReentrantLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [16] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [17] lock at ./stream.jl:224 [inlined]
 [18] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.TTY) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [19] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [20] print at ./strings/io.jl:45 [inlined]
 [21] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(print), ::Base.TTY, ::String, ::Char) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [22] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [23] println at ./strings/io.jl:75 [inlined]
 [24] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(println), ::Base.TTY, ::String) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [25] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Base.TTY, ::String) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [26] make_seed at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:251 [inlined]
 [27] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.make_seed)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [28] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [29] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:288 [inlined]
 [30] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [31] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [32] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:412 [inlined]
 [33] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [34] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [35] MersenneTwister at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:137 [inlined]
 [36] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Type{Random.MersenneTwister}, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [37] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 ... (the last 3 lines are repeated 1 more time)
 [41] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:302 [inlined]
 [42] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng), ::Int64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [43] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [44] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:296 [inlined]
 [45] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [46] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [47] rand at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:253 [inlined]
 [48] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(rand)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [49] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [50] f at ./REPL[1]:1 [inlined]
 [51] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(f)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [52] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [53] #3 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:88 [inlined]
 [54] recurse(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::var"##3#4") at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [55] #trace#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Traceur.trace), ::Function, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51
 [56] #warntrace#21 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51 [inlined]
 [57] warntrace(::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:54
caused by [exception 1]
this intrinsic must be compiled to be called
Stacktrace:
 [1] call at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:447 [inlined]
 [2] fallback at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:445 [inlined]
 [3] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Core.IntrinsicFunction, ::String, ::Type{Int64}, ::Type{Tuple{Ptr{Int64}}}, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:481
 [4] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::String, ::Type, ::Type, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [5] getindex at ./atomics.jl:347 [inlined]
 [6] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(getindex), ::Base.Threads.Atomic{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [7] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [8] lock at ./locks-mt.jl:35 [inlined]
 [9] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.Threads.SpinLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [10] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [11] lock at ./condition.jl:74 [inlined]
 [12] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.GenericCondition{Base.Threads.SpinLock}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [13] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [14] lock at ./lock.jl:68 [inlined]
 [15] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::ReentrantLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [16] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [17] macro expansion at ./lock.jl:182 [inlined]
 [18] unsafe_read at ./iostream.jl:374 [inlined]
 [19] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(unsafe_read), ::IOStream, ::Ptr{UInt8}, ::UInt64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [20] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::IOStream, ::Ptr{UInt8}, ::UInt64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [21] unsafe_read at ./io.jl:669 [inlined]
 [22] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(unsafe_read), ::IOStream, ::Ptr{UInt32}, ::Int64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [23] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::IOStream, ::Ptr{UInt32}, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [24] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(read!), ::IOStream, ::Array{UInt32,1}) at ./gcutils.jl:91
 [25] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [26] rand! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:51 [inlined]
 [27] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.rand!), ::Random.RandomDevice, ::Array{UInt32,1}, ::Random.SamplerType{UInt32}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [28] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Array{UInt32,1}, ::Random.SamplerType{UInt32}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [29] rand! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:264 [inlined]
 [30] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.rand!), ::Random.RandomDevice, ::Array{UInt32,1}, ::Type{UInt32}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [31] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Array{UInt32,1}, ::Type) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [32] rand at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:285 [inlined]
 [33] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(rand), ::Random.RandomDevice, ::Type{UInt32}, ::Tuple{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [34] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Type, ::Tuple{Int64}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [35] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(rand), ::Random.RandomDevice, ::Type{UInt32}, ::Int64) at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:288
 [36] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Type, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [37] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.make_seed)) at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:249
 [38] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [39] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:288 [inlined]
 [40] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [41] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [42] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:412 [inlined]
 [43] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [44] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [45] MersenneTwister at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:137 [inlined]
 [46] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Type{Random.MersenneTwister}, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [47] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 ... (the last 3 lines are repeated 1 more time)
 [51] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:302 [inlined]
 [52] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng), ::Int64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [53] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [54] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:296 [inlined]
 [55] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [56] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [57] rand at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:253 [inlined]
 [58] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(rand)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [59] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [60] f at ./REPL[1]:1 [inlined]
 [61] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(f)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [62] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [63] #3 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:88 [inlined]
 [64] recurse(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::var"##3#4") at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [65] #trace#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Traceur.trace), ::Function, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51
 [66] #warntrace#21 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51 [inlined]
 [67] warntrace(::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:54

Example 2

julia> using Traceur

julia> g() = randn() > 0 ? 1234 : 56.78
g (generic function with 1 method)

julia> @trace g()
┌ Warning:  is assigned as Union{Nothing, Tuple{Int64,Int64}}
└ @ array.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Int64,Int64}}
└ @ array.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning: getindex returns Union{Bool, Int64}
└ @ namedtuple.jl:105
┌ Warning: vs is assigned as Union{Nothing, Tuple{Char,Int64}}
└ @ iterators.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Int64}}
└ @ operators.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Int64}}
└ @ operators.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Nothing}}
└ @ strings/io.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{Char,Nothing}}
└ @ strings/io.jl:-1
┌ Warning: dynamic dispatch to Base.getindex(φ (%143 => %139, %949 => %943), 1)
└ @ strings/io.jl:-1
┌ Warning: dynamic dispatch to Base.getindex(φ (%143 => %139, %949 => %943), 1)
└ @ strings/io.jl:-1
┌ Warning: dynamic dispatch to Base.getindex(φ (%143 => %139, %949 => %943), 1)
└ @ strings/io.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning:  is assigned as Union{Nothing, Tuple{String,Int64}}
└ @ strings/substring.jl:-1
┌ Warning: dynamic dispatch to Base.getproperty(Base.Main, Base)
└ @ error.jl:-1
┌ Warning: dynamic dispatch to Base.getproperty(Base.getproperty(Base.Main, Base), SystemError)
└ @ error.jl:-1
┌ Warning: dynamic dispatch to (Base.getproperty(Base.getproperty(Base.Main, Base), SystemError))(p, $(Expr(:foreigncall, :jl_errno, Int32, svec(), 0, :ccall)), extrainfo)
└ @ error.jl:-1
┌ Warning: dynamic dispatch to (Core.apply_type(Base.Val, x))()
└ @ essentials.jl:-1
ERROR: this intrinsic must be compiled to be called
Stacktrace:
 [1] call at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:447 [inlined]
 [2] fallback at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:445 [inlined]
 [3] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Core.IntrinsicFunction, ::String, ::Type{Int64}, ::Type{Tuple{Ptr{Int64}}}, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:481
 [4] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::String, ::Type, ::Type, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [5] getindex at ./atomics.jl:347 [inlined]
 [6] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(getindex), ::Base.Threads.Atomic{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [7] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [8] lock at ./locks-mt.jl:35 [inlined]
 [9] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.Threads.SpinLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [10] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [11] lock at ./condition.jl:74 [inlined]
 [12] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.GenericCondition{Base.Threads.SpinLock}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [13] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [14] lock at ./lock.jl:68 [inlined]
 [15] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::ReentrantLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [16] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [17] lock at ./stream.jl:224 [inlined]
 [18] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.TTY) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [19] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [20] print at ./strings/io.jl:45 [inlined]
 [21] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(print), ::Base.TTY, ::String, ::Char) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [22] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [23] println at ./strings/io.jl:75 [inlined]
 [24] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(println), ::Base.TTY, ::String) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [25] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Base.TTY, ::String) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [26] make_seed at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:251 [inlined]
 [27] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.make_seed)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [28] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [29] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:288 [inlined]
 [30] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [31] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [32] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:412 [inlined]
 [33] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [34] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [35] MersenneTwister at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:137 [inlined]
 [36] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Type{Random.MersenneTwister}, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [37] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 ... (the last 3 lines are repeated 1 more time)
 [41] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:302 [inlined]
 [42] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng), ::Int64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [43] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [44] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:296 [inlined]
 [45] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [46] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [47] randn at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/normal.jl:39 [inlined]
 [48] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(randn)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [49] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [50] g at ./REPL[2]:1 [inlined]
 [51] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(g)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [52] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [53] #3 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:88 [inlined]
 [54] recurse(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::var"##3#4") at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [55] #trace#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Traceur.trace), ::Function, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51
 [56] #warntrace#21 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51 [inlined]
 [57] warntrace(::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:54
caused by [exception 1]
this intrinsic must be compiled to be called
Stacktrace:
 [1] call at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:447 [inlined]
 [2] fallback at /Users/dilum/.julia/packages/Cassette/YCOeN/src/context.jl:445 [inlined]
 [3] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Core.IntrinsicFunction, ::String, ::Type{Int64}, ::Type{Tuple{Ptr{Int64}}}, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:481
 [4] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::String, ::Type, ::Type, ::Ptr{Int64}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [5] getindex at ./atomics.jl:347 [inlined]
 [6] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(getindex), ::Base.Threads.Atomic{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [7] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [8] lock at ./locks-mt.jl:35 [inlined]
 [9] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.Threads.SpinLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [10] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [11] lock at ./condition.jl:74 [inlined]
 [12] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::Base.GenericCondition{Base.Threads.SpinLock}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [13] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [14] lock at ./lock.jl:68 [inlined]
 [15] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(lock), ::ReentrantLock) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [16] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [17] macro expansion at ./lock.jl:182 [inlined]
 [18] unsafe_read at ./iostream.jl:374 [inlined]
 [19] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(unsafe_read), ::IOStream, ::Ptr{UInt8}, ::UInt64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [20] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::IOStream, ::Ptr{UInt8}, ::UInt64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [21] unsafe_read at ./io.jl:669 [inlined]
 [22] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(unsafe_read), ::IOStream, ::Ptr{UInt32}, ::Int64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [23] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::IOStream, ::Ptr{UInt32}, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [24] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(read!), ::IOStream, ::Array{UInt32,1}) at ./gcutils.jl:91
 [25] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [26] rand! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:51 [inlined]
 [27] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.rand!), ::Random.RandomDevice, ::Array{UInt32,1}, ::Random.SamplerType{UInt32}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [28] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Array{UInt32,1}, ::Random.SamplerType{UInt32}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [29] rand! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:264 [inlined]
 [30] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.rand!), ::Random.RandomDevice, ::Array{UInt32,1}, ::Type{UInt32}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [31] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Array{UInt32,1}, ::Type) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [32] rand at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:285 [inlined]
 [33] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(rand), ::Random.RandomDevice, ::Type{UInt32}, ::Tuple{Int64}) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [34] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Type, ::Tuple{Int64}) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [35] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(rand), ::Random.RandomDevice, ::Type{UInt32}, ::Int64) at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:288
 [36] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.RandomDevice, ::Type, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [37] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.make_seed)) at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:249
 [38] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [39] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:288 [inlined]
 [40] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [41] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [42] seed! at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/Random.jl:412 [inlined]
 [43] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.seed!), ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [44] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Random.MersenneTwister, ::Nothing) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [45] MersenneTwister at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:137 [inlined]
 [46] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Type{Random.MersenneTwister}, ::Nothing) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [47] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 ... (the last 3 lines are repeated 1 more time)
 [51] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:302 [inlined]
 [52] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng), ::Int64) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [53] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function, ::Int64) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [54] default_rng at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/RNGs.jl:296 [inlined]
 [55] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(Random.default_rng)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [56] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [57] randn at /Users/dilum/dev/forks-DilumAluthge/julia/usr/share/julia/stdlib/v1.4/Random/src/normal.jl:39 [inlined]
 [58] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(randn)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [59] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47
 [60] g at ./REPL[2]:1 [inlined]
 [61] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::typeof(g)) at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [62] overdub at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:47 [inlined]
 [63] #3 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:88 [inlined]
 [64] recurse(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#404",Nothing,Nothing}, ::var"##3#4") at /Users/dilum/.julia/packages/Cassette/YCOeN/src/overdub.jl:0
 [65] #trace#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Traceur.trace), ::Function, ::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51
 [66] #warntrace#21 at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:51 [inlined]
 [67] warntrace(::Function) at /Users/dilum/.julia/packages/Traceur/OKJwj/src/trace.jl:54
@DilumAluthge
Copy link
Contributor Author

Closing as duplicate of JuliaLabs/Cassette.jl#138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant