diff --git a/Compiler/src/abstractinterpretation.jl b/Compiler/src/abstractinterpretation.jl index 8035216f1e0eb..e68c3210113c0 100644 --- a/Compiler/src/abstractinterpretation.jl +++ b/Compiler/src/abstractinterpretation.jl @@ -2622,6 +2622,8 @@ function abstract_call_known(interp::AbstractInterpreter, @nospecialize(f), arginfo::ArgInfo, si::StmtInfo, sv::AbsIntState, max_methods::Int = get_max_methods(interp, f, sv)) (; fargs, argtypes) = arginfo + argtypes::Vector{Any} = arginfo.argtypes # declare type because the closure below captures `argtypes` + fargs = arginfo.fargs la = length(argtypes) 𝕃ᵢ = typeinf_lattice(interp) if isa(f, Builtin)