From 708ac309f126d4d6bb00a2f8bf0c82d512afc31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= <15837247+mofeing@users.noreply.github.com> Date: Tue, 9 Dec 2025 18:09:25 +0100 Subject: [PATCH] Try fix stricter module name resolution in Julia 1.12 fixes #1943 --- src/utils.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.jl b/src/utils.jl index 8688603ff1..457ab75743 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -242,9 +242,9 @@ function should_rewrite_call(@nospecialize(ft)) if hasfield(typeof(ft), :name) && hasfield(typeof(ft.name), :module) mod = ft.name.module # Don't rewrite primitive ops, tracing utilities, or any MLIR-based functions - if has_ancestor(mod, Ops) || - has_ancestor(mod, TracedUtils) || - has_ancestor(mod, MLIR) + if has_ancestor(mod, Reactant.Ops) || + has_ancestor(mod, Reactant.TracedUtils) || + has_ancestor(mod, Reactant.MLIR) return false end if string(mod) == "CUDA"