UI test error annotations!

This commit is contained in:
nora 2024-06-02 20:48:17 +02:00
parent 5e7e99982d
commit a0efca50e0
42 changed files with 437 additions and 694 deletions

View file

@ -1 +0,0 @@
function main() = (

View file

@ -1,8 +0,0 @@
error: unexpected end of file
--> $DIR/body_mismatched_parens.nil:2
2 |
^
error: `main` function not found
--> $DIR/body_mismatched_parens.nil:1
1 | function main() = (
^

View file

@ -1,5 +1,6 @@
function main() = (
x();
//~^ ERROR: missing argument of type Int
);
function x(_a: Int) = ;

View file

@ -1,4 +1,4 @@
error: missing argument of type Int
--> $DIR/missing_args.nil:2
--> ./ui-tests/functions/missing_args.nil:2
2 | x();
^