Skip to content

Commit 332f6e6

Browse files
committed
Fix rule error message
1 parent 6a8bef3 commit 332f6e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/customrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ function enzyme_custom_common_rev(
989989

990990
if rmi === nothing
991991
rev_TT = Tuple{typeof(world),functy,rev_TT.parameters...}
992-
rmi = my_methodinstance(typeof(custom_rule_method_error), rev_TT, world)
992+
rmi = my_methodinstance(Reverse, typeof(custom_rule_method_error), rev_TT, world)
993993
pushfirst!(args, LLVM.ConstantInt(world))
994994
rev_RT = Union{}
995995
applicablefn = false

0 commit comments

Comments
 (0)