Skip to content

Commit d11b947

Browse files
committed
debug
1 parent b42ea5d commit d11b947

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/subtype.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,11 +1062,24 @@ function test_intersection_properties()
10621062
for S in menagerie
10631063
I = _type_intersect(T,S)
10641064
I2 = _type_intersect(S,T)
1065+
if !isequal_type(I, I2)
1066+
println("!isequal_type:")
1067+
@show T
1068+
@show S
1069+
@show I
1070+
@show I2
1071+
end
10651072
@test isequal_type(I, I2)
10661073
if I == approx
10671074
# TODO: some of these cases give a conservative answer
10681075
@test issub(I, T) || issub(I, S)
10691076
else
1077+
if !(issub(I, T) && issub(I, S))
1078+
println("!issub:")
1079+
@show T
1080+
@show S
1081+
@show I
1082+
end
10701083
@test issub(I, T) && issub(I, S)
10711084
end
10721085
if issub(T, S)

0 commit comments

Comments
 (0)