From 06b6f47755c9350a13131d4e29329ce644f29f83 Mon Sep 17 00:00:00 2001 From: William Moses Date: Mon, 9 Dec 2024 16:02:00 -0500 Subject: [PATCH] fix --- src/compiler/interpreter.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/interpreter.jl b/src/compiler/interpreter.jl index cdb13e6a74..60751a1004 100644 --- a/src/compiler/interpreter.jl +++ b/src/compiler/interpreter.jl @@ -201,7 +201,7 @@ function EnzymeInterpreter( return EnzymeInterpreter( cache_or_token, - Core.Compiler.OverlayMethodTable(world, mt), + mt == nothing ? Core.Compiler.InternalMethodTable(world) : Core.Compiler.OverlayMethodTable(world, mt), # Initially empty cache Vector{InferenceResult}(),