Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ICE in trans with guarded match arms #3257

Closed
brson opened this Issue · 3 comments

3 participants

@brson
Owner
fn main() {
    match some(true) {
      some(false) => {
      }
      whatever if false => {
      }
      some(true) => {
      }
      none => ()
    }
}
rust: task failed at 'Assertion m.len() > 0u || is_some(chk) failed', /home/banderson/Dev/rust3/src/rustc/middle/trans/alt.rs:451
@catamorphism

May be a dup of #2869

@nikomatsakis

not a dup, I think.

@catamorphism catamorphism was assigned
@catamorphism

This is indeed a dup of #2869.

@catamorphism catamorphism was unassigned by brson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.