Skip to content

Commit 1914f85

Browse files
aviateskcharleskawczynski
authored andcommitted
improve robustness of Vararg checks in newly added abstract_eval_xxx (JuliaLang#58325)
Otherwise these subroutines may raise `unhandled Vararg` errors when compiling e.g. CassetteOverlay for complex call graphs.
1 parent 332d9d7 commit 1914f85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Compiler/test/inference.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6487,6 +6487,9 @@ end
64876487
@test ss57873(["a", "b", "c"], ("",)) == String[]
64886488

64896489
<<<<<<< HEAD
6490+
<<<<<<< HEAD
6491+
=======
6492+
>>>>>>> c894e049d1 (improve robustness of `Vararg` checks in newly added `abstract_eval_xxx` (#58325))
64906493
@test Base.infer_return_type((Module,Symbol,Vector{Any})) do m, n, xs
64916494
getglobal(m, n, xs...)
64926495
end <: Any
@@ -6500,6 +6503,9 @@ end <: Bool
65006503
Core.get_binding_type(m, n, xs...)
65016504
end <: Type
65026505

6506+
<<<<<<< HEAD
65036507
=======
65046508
>>>>>>> 48bd67353d (Prevent type infer hang of "simple" recursive functions (#58273))
6509+
=======
6510+
>>>>>>> c894e049d1 (improve robustness of `Vararg` checks in newly added `abstract_eval_xxx` (#58325))
65056511
end # module inference

0 commit comments

Comments
 (0)