diff options
Diffstat (limited to 'test/enums.tm')
| -rw-r--r-- | test/enums.tm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/enums.tm b/test/enums.tm index 03eb6028..9a0188a2 100644 --- a/test/enums.tm +++ b/test/enums.tm @@ -61,9 +61,10 @@ func main() i := 1 cases := [Foo.One(1), Foo.One(2), Foo.Zero] - while when cases[i]! is One(x) + repeat when cases[i]! is One(x) >> x i += 1 + else stop >> [ ( |
