From e9833ed71977b423586734a5f81151925e00d960 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Wed, 8 Feb 2023 13:31:32 +0100 Subject: [PATCH] Fix typo. [skip ci] --- src/array.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/array.jl b/src/array.jl index f981444938..652792becf 100644 --- a/src/array.jl +++ b/src/array.jl @@ -45,7 +45,7 @@ function explain_eltype(@nospecialize(T), depth=0; maxdepth=10) msg = " "^depth * "$T is a mutable type\n" elseif hasfieldcount(T) msg = " "^depth * "$T is a struct that's not allocated inline\n" - for U in fieldtypes(dt) + for U in fieldtypes(T) if !Base.allocatedinline(U) msg *= explain_nonisbits(U, depth+1) end