catala/tests/test_enum/quick_pattern_4.catala
2021-01-06 18:42:22 +01:00

18 lines
165 B
Plaintext

@Test@
/*
new enum E:
-- Case1
-- Case2
new enum F:
-- Case3
new scope A:
param x content E
param y content bool
scope A:
def x := Case1
def y := x with Case3
*/