diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 15:45:33 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 15:45:33 -0500 |
| commit | 90573ba7a15bb47a11c1eb6f69ed04c01b69724d (patch) | |
| tree | 0eba69a480d59862bff9294533618b81003c2e32 /test/structs.tm | |
| parent | 2c904ff1737e34008f7a6c5d4b072d87a45a3fbc (diff) | |
Tweak behavior for printing recursive structures
Diffstat (limited to 'test/structs.tm')
| -rw-r--r-- | test/structs.tm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/structs.tm b/test/structs.tm index d68bbe8b..d4b0a87e 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -55,10 +55,18 @@ func test_mixed(): >> set:has(y) = no +func test_text(): + >> b := @CorecursiveB() + >> a := @CorecursiveA(b) + >> b.other = a + >> a + = @CorecursiveA(@CorecursiveB(@~1?)?) + func main(): test_literals() test_metamethods() test_mixed() + test_text() >> @LinkedList(10, @LinkedList(20)) |
