From 532a6ce0b88fde6ae747589de9752dba86cece39 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Fri, 28 Jun 2024 08:36:45 +0200 Subject: Fix some typechecking errors --- tests/functions.bad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functions.bad') diff --git a/tests/functions.bad b/tests/functions.bad index 3149a24..8286908 100644 --- a/tests/functions.bad +++ b/tests/functions.bad @@ -24,6 +24,6 @@ fun baz(a: int, b: str): (int, str) { } ; Make sure we can use pointer types on params and return values. -fun test(a: @int[256], b: @str): @int { - a +fun test(a: int[256], b: @str): @int { + @a[32] } -- cgit v1.2.1