Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
subtyping bug: diagonality is ignored in union #26716
Both julia 0.6.2 and dev incorrectly say true on these judgments (on the left we have equivalent types, on the right the same type):
Correct answer is false, because variable
If we rewrite the RHS into an equivalent type with an explicit diagonal type, then julia gives a correct answer.