diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-29 13:52:50 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-29 13:52:50 -0400 |
| commit | 59f0311087099d567fa0e75b3b03f6b2a5f2eca7 (patch) | |
| tree | 9487366143a26af08ea8dd5d80b01a95d5d67357 /test/enums.tm | |
| parent | 5ab9adf6e57c516220a594f9e8b39e5214f1af2d (diff) | |
Remove special case for `while when`
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 080e5d97..1d00cd1a 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 >> [ ( |
