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 LilithHafner committed Feb 22, 2022
1 parent 67ced24 commit dfd21db
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 dfd21db

Please sign in to comment.