diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 15:43:59 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 15:43:59 -0400 |
| commit | 71f73d8b3ce63f9a3685bc1a1686ef4fab3294a6 (patch) | |
| tree | 99fe1309fa4d24609867dcc62859caed909a76d9 /test/structs.tm | |
| parent | f5612e38183dc20d18f207f8ab055574a4d93ad0 (diff) | |
Deprecate sets
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 40c1b566..2440911b 100644 --- a/test/structs.tm +++ b/test/structs.tm @@ -27,7 +27,7 @@ func test_metamethods() assert x != Pair(10, 30) assert x < Pair(11, 20) - >> set := |x| + >> set := {x=yes} >> set.has(x) = yes >> set.has(y) @@ -41,7 +41,7 @@ func test_mixed() assert x == Mixed(10, "Hello") assert x != Mixed(10, "Bye") assert x < Mixed(11, "Hello") - >> set := |x| + >> set := {x=yes} >> set.has(x) = yes >> set.has(y) |
