Skip to content

Commit

Permalink
disable absint of absint (#424)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
wsmoses and github-actions[bot] authored Dec 24, 2024
1 parent 228732f commit 6e1710d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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} ||
Expand Down

0 comments on commit 6e1710d

Please sign in to comment.