diff --git a/src/utils.jl b/src/utils.jl index 46b17f40ed..56fa7587b4 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -120,6 +120,12 @@ function should_rewrite_ft(@nospecialize(ft)) if ft <: typeof(Base.hvcat) return false end + if ft <: typeof(Core.Compiler.concrete_eval_eligible) + return false + end + if ft <: typeof(Core.Compiler.typeinf_type) || ft <: typeof(Core.Compiler.typeinf_ext) + return false + end # Don't rewrite traced constructors if ft <: Type{<:TracedRArray} ||