From ccc3c57f1cbc2d8e061d44626b85eb708ff56820 Mon Sep 17 00:00:00 2001 From: Annie Date: Mon, 14 Apr 2025 21:36:52 -0400 Subject: [PATCH] got rid of invalid typ declaration --- tests/sprint2/test/sp2_carls_mistake.alpha | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/sprint2/test/sp2_carls_mistake.alpha b/tests/sprint2/test/sp2_carls_mistake.alpha index 45d53c3..26b8725 100644 --- a/tests/sprint2/test/sp2_carls_mistake.alpha +++ b/tests/sprint2/test/sp2_carls_mistake.alpha @@ -1,11 +1,11 @@ -type main: string -> integer -function entry: main - type rec: [integer: x; integer: y] + type T1: integer -> integer type T2: rec -> integer type arr: 1 -> integer -type w : rec + +type main: string -> integer +function entry: main function foo: T1 function bar1: T2 function bar2: T2