From 7cb58781ec75ed0c602fa6e10993a8e4e5697a5b Mon Sep 17 00:00:00 2001 From: Mark Kittisopikul Date: Thu, 13 Jan 2022 14:48:27 -0500 Subject: [PATCH] Fix #43004 by commenting out broken throw tests (#43739) --- test/core.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/core.jl b/test/core.jl index 6c36827d42afb4..2473bdba2c1640 100644 --- a/test/core.jl +++ b/test/core.jl @@ -3602,9 +3602,10 @@ end @test_throws TypeError Union{Int, 1} @test_throws ErrorException Vararg{Any,-2} -@test_throws ErrorException Vararg{Int, N} where N<:T where T -@test_throws ErrorException Vararg{Int, N} where N<:Integer -@test_throws ErrorException Vararg{Int, N} where N>:Integer +# Disabled due to #39698, see src/jltypes.c +#@test_throws ErrorException Vararg{Int, N} where N<:T where T +#@test_throws ErrorException Vararg{Int, N} where N<:Integer +#@test_throws ErrorException Vararg{Int, N} where N>:Integer mutable struct FooNTuple{N} z::Tuple{Integer, Vararg{Int, N}}