unknown_enum_value.toy (95B)
1 enum Color: i64 { 2 .red = 1, 3 } 4 5 fn main(): i64 { 6 let c: Color = .blue; 7 return c as i64; 8 }