diff --git a/src/rules/typeunstablerules.jl b/src/rules/typeunstablerules.jl index 0af8e252275..42fcbe18cff 100644 --- a/src/rules/typeunstablerules.jl +++ b/src/rules/typeunstablerules.jl @@ -628,7 +628,7 @@ end for i in 1:N @inbounds expr[i] = quote begin - dv = dptrs[$i] + dv = ptrs[$i] getfield(dv isa Base.RefValue ? dv[] : dv, symname) end end