diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-04 18:29:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-04 18:29:09 -0400 |
| commit | 7b735ab6fc3e0bb368f1ca484168eaefbbe3ce9c (patch) | |
| tree | 4a7c78bb0967b8fbc1042d901cf0346705d9d0d8 /test/structs.tm | |
| parent | 0b8074154e2671691050bdb3bcb33245625a056c (diff) | |
Misc fixes
Diffstat (limited to 'test/structs.tm')
| -rw-r--r-- | test/structs.tm | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
