From 7b735ab6fc3e0bb368f1ca484168eaefbbe3ce9c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 4 Apr 2025 18:29:09 -0400 Subject: Misc fixes --- 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 b546488c..c1d2f7b0 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=none:@LinkedList) +struct LinkedList(x:Int, next:@LinkedList?=none) struct Password(text:Text; secret) struct CorecursiveA(other:@CorecursiveB?) -struct CorecursiveB(other=none:@CorecursiveA) +struct CorecursiveB(other:@CorecursiveA?=none) func test_literals(): >> Single(123) -- cgit v1.2.3