You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn foo(a: option<uint>, b: option<uint>) {
alt (a,b) {
(some(a), some(b)) if a == b { }
(some(_), none) |
(none, some(_)) { }
}
}
when compiled (1) does not fail exhaustiveness checking (it should) and (2) causes an option::get() failure in trans (possibly as a result of problem #1?)
The text was updated successfully, but these errors were encountered:
This test case:
when compiled (1) does not fail exhaustiveness checking (it should) and (2) causes an
option::get()
failure in trans (possibly as a result of problem #1?)The text was updated successfully, but these errors were encountered: