aboutsummaryrefslogtreecommitdiff
path: root/test/optionals.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-04 17:06:09 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-04 17:06:09 -0400
commit0b8074154e2671691050bdb3bcb33245625a056c (patch)
tree1410e0c4e05c6372e876cd08f16d117e12868f41 /test/optionals.tm
parentfadcb45baf1274e06cfe37b87655b9146aa52874 (diff)
First working compile of refactor to add explicit typing to declarations
and support untyped empty collections and `none`s
Diffstat (limited to 'test/optionals.tm')
-rw-r--r--test/optionals.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/optionals.tm b/test/optionals.tm
index 02817441..a1b0dcd6 100644
--- a/test/optionals.tm
+++ b/test/optionals.tm
@@ -247,8 +247,8 @@ func main():
= yes
>> {none:Int, none:Int}
= {none:Int}
- >> {:Int? none, none}
- = {none:Int}
+ >> nones : {Int?} = {none, none}
+ = {none}
>> [5?, none:Int, none:Int, 6?]:sorted()
= [none:Int, none:Int, 5, 6]