Comments (1)
Okay, I have a MWE:
julia> import Traceur
julia> @inline function bar()
b = Set{String}()
return b
end
bar (generic function with 1 method)
julia> Traceur.@trace bar()
ERROR: MethodError: no method matching unsafe_convert(::Type{Int64}, ::typeof(Core.cconvert))
Closest candidates are:
unsafe_convert(::Type{T}, ::T) where T at boot.jl:424
Stacktrace:
[1] call(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Function, ::Type, ::Function)
@ Cassette ~/.julia/packages/Cassette/158rp/src/context.jl:456
[2] fallback(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Function, ::Vararg{Any,N} where N)
@ Cassette ~/.julia/packages/Cassette/158rp/src/context.jl:454
[3] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::typeof(Core.unsafe_convert), ::Type{Int64}, ::typeof(Core.cconvert))
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:536
[4] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Function, ::Type, ::Function)
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[5] Array
@ ./boot.jl:433 [inlined]
[6] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Type{Vector{UInt8}}, ::UndefInitializer, ::Int64)
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[7] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Type, ::UndefInitializer, ::Int64)
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[8] Array
@ ./boot.jl:442 [inlined]
[9] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Type{Vector{UInt8}}, ::UndefInitializer, ::Tuple{Int64})
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[10] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Type, ::UndefInitializer, ::Tuple{Int64})
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[11] zeros
@ ./array.jl:525 [inlined]
[12] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::typeof(zeros), ::Type{UInt8}, ::Tuple{Int64})
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[13] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Function, ::Type, ::Tuple{Int64})
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[14] zeros
@ ./array.jl:521 [inlined]
[15] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::typeof(zeros), ::Type{UInt8}, ::Int64)
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[16] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Function, ::Type, ::Int64)
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[17] Dict
@ ./dict.jl:90 [inlined]
[18] overdub(overdub_context#256::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, overdub_arguments#257::Type{Dict{String,Nothing}})
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[19] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Type)
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[20] Set
@ ./set.jl:6 [inlined]
[21] overdub(overdub_context#256::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, overdub_arguments#257::Type{Set{String}})
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[22] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Type)
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[23] bar
@ ./REPL[2]:2 [inlined]
[24] overdub(overdub_context#256::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, overdub_arguments#257::typeof(bar))
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[25] overdub(::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, ::Function)
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:47
[26] #1
@ ~/.julia/packages/Traceur/ajxdS/src/trace.jl:88 [inlined]
[27] recurse(overdub_context#256::Cassette.Context{nametype(TraceurCtx),Traceur.Trace,Nothing,Cassette.var"##PassType#258",Nothing,Nothing}, overdub_arguments#257::var"#1#2")
@ Cassette ~/.julia/packages/Cassette/158rp/src/overdub.jl:0
[28] trace(w::Function, f::Function; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}})
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:51
[29] trace
@ ~/.julia/packages/Traceur/ajxdS/src/trace.jl:51 [inlined]
[30] #warntrace#21
@ ~/.julia/packages/Traceur/ajxdS/src/trace.jl:54 [inlined]
[31] warntrace(f::Function)
@ Traceur ~/.julia/packages/Traceur/ajxdS/src/trace.jl:54
[32] top-level scope
@ ~/.julia/packages/Traceur/ajxdS/src/trace.jl:88
To edit a specific method, type the corresponding number into the REPL and press Ctrl+Q
from traceur.jl.
Related Issues (20)
- @trace not updating with method redefinition HOT 2
- Package compatibility caps
- Warning: getproperty returns Union HOT 2
- Depth HOT 8
- Seems to cause my program execution to be stuck? HOT 4
- no unique matching method found for the specified argument types HOT 9
- Error tagging new release HOT 1
- [Traceur + Zygote] Errors when attempting to run `@trace` on second derivative HOT 8
- Tests are failing on Julia 1.2 and Julia nightly HOT 1
- Change default modules HOT 3
- Tag a new release? HOT 3
- Tracing function with `rand` or `randn` leads to error: "this intrinsic must be compiled to be called" HOT 1
- Lots of warnings are nonsense HOT 9
- Warning for missing @inbounds
- Add stack traces to warnings
- Use min_enabled_level() instead of .min_level ? HOT 2
- Traceur + Cubature compile failure HOT 1
- Internal error on nightly due to invalid IR
- ERROR: `llvmcall` must be compiled to be called HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traceur.jl.