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
julia> Base.VERSION v"1.2.0-DEV.357" julia> using Cthulhu julia> g(t)=Dict(t); julia> @descend g([1=>2]) │ ─ %-1 = invoke g(::Array{Pair{Int64,Int64},1})::Dict{Int64,Int64} CodeInfo( @ REPL[3]:1 within `g' 1 ─ %1 = invoke Main.Dict(_2::Array{Pair{Int64,Int64},1})::Dict{Int64,Int64} └── return %1 ) Select a call to descend into or ↩ to ascend. [q]uit. Toggles: [o]ptimize, [w]arn, [d]ebuginfo. Show: [L]LVM IR, [N]ative code Advanced: dump [P]arams cache. • %1 = invoke Type(::Array{Pair{Int64,Int64},1})::Dict{Int64,Int64} ↩ ERROR: BoundsError: attempt to access 23-element Array{Int64,1} at index [0] Stacktrace: [1] getindex(::Array{Int64,1}, ::Int64) at ./array.jl:728 [2] Core.Compiler.IncrementalCompact(::Core.Compiler.IRCode, ::Bool) at ./compiler/ssair/ir.jl:510 [3] dce!(::Core.CodeInfo, ::Core.MethodInstance) at /home/bruhns/.julia/packages/Cthulhu/eUNdq/src/reflection.jl:113 [4] preprocess_ci!(::Core.CodeInfo, ::Core.MethodInstance, ::Bool) at ~/.julia/packages/Cthulhu/eUNdq/src/reflection.jl:143 ... julia> using Pkg; Pkg.status("Cthulhu") Status `~/.julia/environments/v1.2/Project.toml` [f68482b8] Cthulhu v0.1.0 #master (https://github.com/vchuravy/Cthulhu.jl)
The text was updated successfully, but these errors were encountered:
I'm running into this same issue; any workaround?
Sorry, something went wrong.
In src/reflection.jl you can remove the dce call we should make that configurable
Should be fixed on current Julia
No branches or pull requests
The text was updated successfully, but these errors were encountered: