Skip to content

Commit

Permalink
Fix JuliaLang#43004 by commenting out broken throw tests (JuliaLang#4…
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti authored and nickrobinson251 committed Jan 14, 2022
1 parent 66062fb commit 7cb5878
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 7cb5878

Please sign in to comment.