julia
8866446c - Compiler: infer `Expr(:static_parameter, ...)` in argument position (#61511)

Commit
28 days ago
Compiler: infer `Expr(:static_parameter, ...)` in argument position (#61511) Kind of surprising we haven't encountered this before, but flisp tries to avoid this form (on accident?) Previously: ```julia julia> code_typed(f_static_parameter_argument_position, Tuple{Type{Int}}) 1-element Vector{Any}: CodeInfo( 1 ─ return Int64 ) => Any # should be Type{Any} ``` JuliaLowering _does_ generate it though, so this resolves https://github.com/JuliaLang/JuliaLowering.jl/issues/152.
Author
Parents
Loading