Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ICE in trans with guarded match arms #3257

Closed
brson opened this Issue Aug 23, 2012 · 3 comments

Comments

Projects
None yet
3 participants
Contributor

brson commented Aug 23, 2012

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
Contributor

catamorphism commented Aug 23, 2012

May be a dup of #2869

Contributor

nikomatsakis commented Aug 29, 2012

not a dup, I think.

@ghost ghost assigned catamorphism Dec 8, 2012

Contributor

catamorphism commented Dec 8, 2012

This is indeed a dup of #2869.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment