From 71f73d8b3ce63f9a3685bc1a1686ef4fab3294a6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 15:43:59 -0400 Subject: Deprecate sets --- 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 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) -- cgit v1.2.3