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
When calling unoptimized code_typed on a generated function this happens:
code_typed
@generated function test() quote 10 + 11 end end code_typed(test, (), optimize = false) code_typed(test, (), optimize = false) ERROR: AssertionError: isa(linfo.code,Array{Any,1}) in Core.Inference.InferenceState(::LambdaInfo, ::Bool, ::Bool, ::Bool) at ./inference.jl:81 in typeinf_edge(::Method, ::Any, ::SimpleVector, ::Bool, ::Bool, ::Bool, ::Void) at ./inference.jl:1572 in (::Core.Inference.#kw##typeinf_uncached)(::Array{Any,1}, ::Core.Inference.#typeinf_uncached, ::Method, ::Any, ::Any) at ./<missing>:0 in #code_typed#18(::Bool, ::Function, ::Any, ::Any) at ./reflection.jl:410 in (::Base.#kw##code_typed)(::Array{Any,1}, ::Base.#code_typed, ::Any, ::Any) at ./<missing>:0
This seems fixed on 0.6, but because of #20103 I can't get things to work there either ;)
Would be nice if we can find a fix for either one (preferably fix 0.6 :P )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When calling unoptimized
code_typed
on a generated function this happens:This seems fixed on 0.6, but because of #20103 I can't get things to work there either ;)
Would be nice if we can find a fix for either one (preferably fix 0.6 :P )
The text was updated successfully, but these errors were encountered: