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

not compatible with Julia 1.8 dev #322

Closed
dpinol opened this issue Feb 18, 2022 · 0 comments · Fixed by #325
Closed

not compatible with Julia 1.8 dev #322

dpinol opened this issue Feb 18, 2022 · 0 comments · Fixed by #325

Comments

@dpinol
Copy link
Contributor

dpinol commented Feb 18, 2022

Probably due to JuliaLang/julia#43852

julia> using JET

julia> @report_opt 2+3
ERROR: MethodError: no method matching Core.CodeInstance(::Core.Compiler.InferenceResult, ::JET.JETCachedResult, ::Core.Compiler.WorldRange, ::UInt8)
Closest candidates are:
  Core.CodeInstance(::Core.MethodInstance, ::Any, ::Any, ::Any, ::Int32, ::UInt64, ::UInt64, ::UInt8, ::UInt8, ::UInt8) at ~/dev/julia/julia/usr/share/julia/base/boot.jl:422
  Core.CodeInstance(::Core.Compiler.InferenceResult, ::Any, ::Core.Compiler.WorldRange) at ~/dev/julia/julia/usr/share/julia/base/compiler/typeinfer.jl:280
Stacktrace:
  [1] cache_result!(analyzer::JET.OptAnalyzer{JET.OptAnalysisPass, JET.var"#152#154"}, result::Core.Compiler.InferenceResult)
    @ JET ~/.julia/packages/JET/HeN96/src/abstractinterpret/typeinfer.jl:410
  [2] _typeinf(analyzer::JET.OptAnalyzer{JET.OptAnalysisPass, JET.var"#152#154"}, frame::Core.Compiler.InferenceState)
    @ JET ~/.julia/packages/JET/HeN96/src/abstractinterpret/typeinfer.jl:701
  [3] typeinf(interp::JET.OptAnalyzer{JET.OptAnalysisPass, JET.var"#152#154"}, frame::Core.Compiler.InferenceState)
    @ Core.Compiler ./compiler/typeinfer.jl:209
  [4] typeinf(analyzer::JET.OptAnalyzer{JET.OptAnalysisPass, JET.var"#152#154"}, frame::Core.Compiler.InferenceState)
    @ JET ~/.julia/packages/JET/HeN96/src/abstractinterpret/typeinfer.jl:556
  [5] analyze_frame!
    @ ~/.julia/packages/JET/HeN96/src/JET.jl:754 [inlined]
  [6] analyze_method_instance!(analyzer::JET.OptAnalyzer{JET.OptAnalysisPass, JET.var"#152#154"}, mi::Core.MethodInstance; set_entry::Bool)
    @ JET ~/.julia/packages/JET/HeN96/src/JET.jl:743
  [7] analyze_method_instance!
    @ ~/.julia/packages/JET/HeN96/src/JET.jl:732 [inlined]
  [8] #analyze_method_signature!#122
    @ ~/.julia/packages/JET/HeN96/src/JET.jl:726 [inlined]
  [9] analyze_method_signature!
    @ ~/.julia/packages/JET/HeN96/src/JET.jl:725 [inlined]
 [10] #analyze_gf_by_type!#118
    @ ~/.julia/packages/JET/HeN96/src/JET.jl:698 [inlined]
 [11] analyze_gf_by_type!
    @ ~/.julia/packages/JET/HeN96/src/JET.jl:697 [inlined]
 [12] report_call(tt::Type{<:Tuple}; analyzer::Type{JET.OptAnalyzer}, source::Nothing, jetconfigs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ JET ~/.julia/packages/JET/HeN96/src/JET.jl:1298
 [13] report_call(f::Any, types::Any; jetconfigs::Base.Pairs{Symbol, UnionAll, Tuple{Symbol}, NamedTuple{(:analyzer,), Tuple{UnionAll}}})
    @ JET ~/.julia/packages/JET/HeN96/src/JET.jl:1289
 [14] top-level scope
    @ REPL[1]:1

aviatesk added a commit that referenced this issue Feb 21, 2022
aviatesk added a commit that referenced this issue Feb 21, 2022
aviatesk added a commit that referenced this issue Feb 21, 2022
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

Successfully merging a pull request may close this issue.

1 participant