Skip to content

Commit

Permalink
Enabled tests for JuliaLang#11840
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
mauro3 committed Jan 17, 2017
1 parent 9b8be01 commit 1c3419f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,13 @@ g11840{T<:Tuple}(sig::Type{T}) = 3

g11840b(::DataType) = 1
g11840b(::Type) = 2
# FIXME: how to compute that the guard entry is still required,
# even though Type{Vector} ∩ DataType = Bottom and this method would set cache_with_orig = true
#g11840b{T<:Tuple}(sig::Type{T}) = 3
g11840b{T<:Tuple}(sig::Type{T}) = 3
@test g11840b(Vector) == 2
@test g11840b(Vector.body) == 1
@test g11840b(Vector) == 2
@test g11840b(Vector.body) == 1
#@test g11840b(Tuple) == 3
#@test g11840b(TT11840) == 3
@test g11840b(Tuple) == 3
@test g11840b(TT11840) == 3

h11840(::DataType) = '1'
h11840(::Type) = '2'
Expand Down

0 comments on commit 1c3419f

Please sign in to comment.