From 858d5c1756b64f4973588424b8ba375136740510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edvard=20Th=C3=B6rnros?= Date: Mon, 8 Mar 2021 20:53:01 +0100 Subject: order the return type correctly --- progs/tests/wrong_params.sy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/tests/wrong_params.sy') diff --git a/progs/tests/wrong_params.sy b/progs/tests/wrong_params.sy index e49e89b..0082a3a 100644 --- a/progs/tests/wrong_params.sy +++ b/progs/tests/wrong_params.sy @@ -4,4 +4,4 @@ start :: fn { f } -// errors: [ErrorKind::TypeMismatch(_, _), ErrorKind::TypeMismatch(Type::Void, Type::Int)] +// errors: [ErrorKind::TypeMismatch(_, _), ErrorKind::TypeMismatch(Type::Int, Type::Void)] -- cgit v1.2.1