navid/haze / 94d8e2a026845bd62732f6eb7c222b5a9c18a60511c534c648cee6fd4b471090 / samples/baseline_2.8/generic_enum_error.hz
generic_enum_error.hz
← samples/baseline_2.8 · 148 bytes · raw · download
// Generic enum parameters are not supported; payload-free enums need no type.
type Choice[T] enum {
One
Two
}
fn main() {
print(1)
}