Skip to content

Commit 9e5ad01

Browse files
mkittiKristofferC
authored andcommitted
Fix #43004 by commenting out broken throw tests (#43739)
(cherry picked from commit 89f2332)
1 parent 65a11e1 commit 9e5ad01

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/core.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3516,9 +3516,10 @@ end
35163516
@test_throws TypeError Union{Int, 1}
35173517

35183518
@test_throws ErrorException Vararg{Any,-2}
3519-
@test_throws ErrorException Vararg{Int, N} where N<:T where T
3520-
@test_throws ErrorException Vararg{Int, N} where N<:Integer
3521-
@test_throws ErrorException Vararg{Int, N} where N>:Integer
3519+
# Disabled due to #39698, see src/jltypes.c
3520+
#@test_throws ErrorException Vararg{Int, N} where N<:T where T
3521+
#@test_throws ErrorException Vararg{Int, N} where N<:Integer
3522+
#@test_throws ErrorException Vararg{Int, N} where N>:Integer
35223523

35233524
mutable struct FooNTuple{N}
35243525
z::Tuple{Integer, Vararg{Int, N}}

0 commit comments

Comments
 (0)