aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/auto/wrong_params.sy
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/auto/wrong_params.sy')
-rw-r--r--progs/tests/auto/wrong_params.sy4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/auto/wrong_params.sy b/progs/tests/auto/wrong_params.sy
index 6b56e90..e49e89b 100644
--- a/progs/tests/auto/wrong_params.sy
+++ b/progs/tests/auto/wrong_params.sy
@@ -1,7 +1,7 @@
start :: fn {
- f : fn -> int = fn a: int -> int {}
-f
+ f : fn -> int = fn a: int -> int {}
+ f
}
// errors: [ErrorKind::TypeMismatch(_, _), ErrorKind::TypeMismatch(Type::Void, Type::Int)]