@@ -44,7 +44,7 @@ which(Tuple{∂⃖{N}, ∂⃖{1}, Vararg{Any}} where {N}).recursion_relation = f
44
44
isa (Base. unwrap_unionall (new_sig. parameters[1 ]. parameters[1 ]), Int)
45
45
end
46
46
47
- for (;method) in Base. _methods_by_ftype (Tuple{Diffractor.∂☆recurse{N}, Vararg{Any}} where {N}, nothing , - 1 , typemax (UInt64 ))
47
+ for (;method) in Base. _methods_by_ftype (Tuple{Diffractor.∂☆recurse{N}, Vararg{Any}} where {N}, nothing , - 1 , Base . get_world_counter ( ))
48
48
method. recursion_relation = function (method1, method2, parent_sig, new_sig)
49
49
# Recursion from a higher to a lower order is always allowed
50
50
parent_order = parent_sig. parameters[1 ]. parameters[1 ]
@@ -58,13 +58,13 @@ for (;method) in Base._methods_by_ftype(Tuple{Diffractor.∂☆recurse{N}, Varar
58
58
end
59
59
end
60
60
61
- for (;method) in Base. _methods_by_ftype (Tuple{Diffractor.∂☆internal{N}, Vararg{Any}} where {N}, nothing , - 1 , typemax (UInt64 ))
61
+ for (;method) in Base. _methods_by_ftype (Tuple{Diffractor.∂☆internal{N}, Vararg{Any}} where {N}, nothing , - 1 , Base . get_world_counter ( ))
62
62
method. recursion_relation = function (method1, method2, parent_sig, new_sig)
63
63
return true
64
64
end
65
65
end
66
66
67
- for (;method) in Base. _methods_by_ftype (Tuple{Diffractor.∂☆{N}, Vararg{Any}} where {N}, nothing , - 1 , typemax (UInt64 ))
67
+ for (;method) in Base. _methods_by_ftype (Tuple{Diffractor.∂☆{N}, Vararg{Any}} where {N}, nothing , - 1 , Base . get_world_counter ( ))
68
68
method. recursion_relation = function (method1, method2, parent_sig, new_sig)
69
69
return true
70
70
end
0 commit comments