aboutsummaryrefslogtreecommitdiff
path: root/test/enums.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-06 14:47:45 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-06 14:47:45 -0400
commita8316252db95e3d77f9f0e9beb89cfcb4573d5b1 (patch)
treee5905bce9611e35ccb2f84481232fca0e657ff42 /test/enums.tm
parenta0ac652cd1eebdc42425b34f1685f8cb20cb4eea (diff)
parent73246764f88f6f652316ee0c138a990d836698a7 (diff)
Merge branch 'main' into simplified-quotes
Diffstat (limited to 'test/enums.tm')
-rw-r--r--test/enums.tm3
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
>> [
(