From d29403382224069faaae23b0e873cd719917d1d1 Mon Sep 17 00:00:00 2001 From: krangelov Date: Fri, 24 Sep 2021 15:43:53 +0200 Subject: [PATCH] added more tests --- testsuite/compiler/compute/record.gfs | 3 +++ testsuite/compiler/compute/record.gfs.gold | 3 +++ 2 files changed, 6 insertions(+) diff --git a/testsuite/compiler/compute/record.gfs b/testsuite/compiler/compute/record.gfs index 99368bf17..0aeef0def 100644 --- a/testsuite/compiler/compute/record.gfs +++ b/testsuite/compiler/compute/record.gfs @@ -1,2 +1,5 @@ i -retain testsuite/compiler/compute/record.gfs cc hello +cc {x="x"; y="y"}.x +cc {x="x"; y="y"}.y +cc <\r -> r.x : {x:Str; y:Str} -> Str> diff --git a/testsuite/compiler/compute/record.gfs.gold b/testsuite/compiler/compute/record.gfs.gold index 3580093b9..1c7dd595b 100644 --- a/testsuite/compiler/compute/record.gfs.gold +++ b/testsuite/compiler/compute/record.gfs.gold @@ -1 +1,4 @@ "hello" +"x" +"y" +\v0 -> v0.x