1a96e79fe0
The typechecker had a number of special cases for unifying types with _|_ (as with checking if and alt). But, a value of type _|_ should be usable in any context, as such a value always diverges, and will never be used by its immediate context. Changed unify accordingly, removed special cases. |
||
---|---|---|
.. | ||
alt-bot-fail.rs | ||
explicit-fail.rs | ||
expr-alt-fail.rs | ||
expr-if-fail.rs | ||
fail.rs | ||
linked-failure.rs | ||
non-exhaustive-match.rs | ||
pred.rs | ||
str-overrun.rs | ||
task-comm-14.rs | ||
trivial-message2.rs | ||
vec-overrun.rs | ||
vec-underrun.rs |