From d4b10514fbe3afc7229efe74b015a664b52eba33 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Nov 2024 16:36:27 -0500 Subject: Clean up some more null->none renames and fix the documentation. Also change the literal syntax to `NONE:T` instead of `!T` --- test/structs.tm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/structs.tm') diff --git a/test/structs.tm b/test/structs.tm index 26b24d62..ae5bec0f 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -2,11 +2,11 @@ struct Single(x:Int) struct Pair(x,y:Int) struct Mixed(x:Int, text:Text) -struct LinkedList(x:Int, next=!@LinkedList) +struct LinkedList(x:Int, next=NONE:@LinkedList) struct Password(text:Text; secret) struct CorecursiveA(other:@CorecursiveB?) -struct CorecursiveB(other=!@CorecursiveA) +struct CorecursiveB(other=NONE:@CorecursiveA) func test_literals(): >> Single(123) -- cgit v1.2.3