We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b42ea5d commit d11b947Copy full SHA for d11b947
test/subtype.jl
@@ -1062,11 +1062,24 @@ function test_intersection_properties()
1062
for S in menagerie
1063
I = _type_intersect(T,S)
1064
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
1072
@test isequal_type(I, I2)
1073
if I == approx
1074
# TODO: some of these cases give a conservative answer
1075
@test issub(I, T) || issub(I, S)
1076
else
1077
+ if !(issub(I, T) && issub(I, S))
1078
+ println("!issub:")
1079
1080
1081
1082
1083
@test issub(I, T) && issub(I, S)
1084
end
1085
if issub(T, S)
0 commit comments