From 6e1710d7a11899861734feb4d99c98abc5474899 Mon Sep 17 00:00:00 2001 From: William Moses Date: Mon, 23 Dec 2024 19:48:12 -0500 Subject: [PATCH] disable absint of absint (#424) * disable absint of absint * no typeinf ext * Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/utils.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/utils.jl b/src/utils.jl index 46b17f40e..56fa7587b 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} ||