aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-04-30 13:18:47 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-04-30 13:18:47 -0400
commit2e27b88c1b9fa8ec9b9f243909f5b793b376f207 (patch)
treef70433489c8a1fbf3bae6bf4cce364f6bdf8c9f7 /test/structs.tm
parent3c0a8f0b899a343f43caf9c95147b2cf77a7b525 (diff)
Improved syntax for optionals
Diffstat (limited to 'test/structs.tm')
-rw-r--r--test/structs.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/structs.tm b/test/structs.tm
index 840ee847..ad8e7ad6 100644
--- a/test/structs.tm
+++ b/test/structs.tm
@@ -1,7 +1,7 @@
struct Pair(x,y:Int)
struct Mixed(x:Int, text:Text)
-struct LinkedList(x:Int, next=!LinkedList)
+struct LinkedList(x:Int, next=!@LinkedList)
struct Password(text:Text; secret)
func test_literals():