diff --git a/base/compiler/typeinfer.jl b/base/compiler/typeinfer.jl index 53acd3cdceeb7..04c0edb9a0fde 100644 --- a/base/compiler/typeinfer.jl +++ b/base/compiler/typeinfer.jl @@ -34,7 +34,7 @@ function _typeinf_identifier(frame::Core.Compiler.InferenceState) frame.linfo, frame.world, copy(frame.sptypes), - frame.slottypes, + copy(frame.slottypes), ) return mi_info end