diff options
Diffstat (limited to 'progs/tests/auto/wrong_ret.sy')
| -rw-r--r-- | progs/tests/auto/wrong_ret.sy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/auto/wrong_ret.sy b/progs/tests/auto/wrong_ret.sy index 81f2517..6c4a9a5 100644 --- a/progs/tests/auto/wrong_ret.sy +++ b/progs/tests/auto/wrong_ret.sy @@ -1,7 +1,7 @@ start :: fn { - f : fn -> int = fn {} -f + f : fn -> int = fn {} + f } // errors: [ErrorKind::TypeMismatch(_, _)] |
