From 5103fde1c5e7e92f00801fb3a0e3662e436ee881 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 8 Oct 2024 13:39:45 -0400 Subject: [PATCH] Add a test for optionals to ensure they size correctly --- test/optionals.tm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/optionals.tm b/test/optionals.tm index e2d616b..c0cc116 100644 --- a/test/optionals.tm +++ b/test/optionals.tm @@ -321,3 +321,6 @@ func main(): >> not !Int = yes + + >> [Struct(5,"A")?, Struct(6,"B"), Struct(7,"C")] + = [Struct(x=5, y="A")?, Struct(x=6, y="B")?, Struct(x=7, y="C")?]