From 1b89eea1cf6126a2f80f51dcc83782ce70265f7e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 6 May 2025 23:14:57 -0400 Subject: Bugfix for serialization of sets and tables with fallbacks --- test/serialization.tm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/serialization.tm b/test/serialization.tm index 258282c1..12917f98 100644 --- a/test/serialization.tm +++ b/test/serialization.tm @@ -53,7 +53,10 @@ func main() do >> obj := {"A"=10, "B"=20; fallback={"C"=30}} >> bytes := obj.serialized() - >> deserialize(bytes -> {Text=Int}) == obj + >> roundtrip := deserialize(bytes -> {Text=Int}) + >> roundtrip == obj + = yes + >> roundtrip.fallback == obj.fallback = yes do -- cgit v1.2.3