1 2 3 4 5 6 7 8 9 10 11 12 13
enum Color { red blue } fn main() { mut color := Color.red mut foo := 1 color = 1 foo = Color.red println(color == 0) _ = foo }