Fix test.

This commit is contained in:
Christoffer Lerno
2022-10-08 22:10:56 +02:00
parent 70a429f832
commit d5f965e137
2 changed files with 4 additions and 4 deletions

View File

@@ -7,11 +7,11 @@ macro foo($Foo)
fn void test1() fn void test1()
{ {
var $Bar; var $Bar;
foo($Bar); // #error: '$Bar' is not defined yet foo($Bar); // #error: You need to assign a type to
} }
fn void test2() fn void test2()
{ {
var $Bar; var $Bar;
$Bar z; // #error: '$Bar' is not defined yet $Bar z; // #error: You need to assign a type to
} }

View File

@@ -7,11 +7,11 @@ macro foo($Foo)
fn void test1() fn void test1()
{ {
var $Bar; var $Bar;
foo($Bar); // #error: '$Bar' is not defined yet foo($Bar); // #error: You need to assign a type to
} }
fn void test2() fn void test2()
{ {
var $Bar; var $Bar;
$Bar z; // #error: '$Bar' is not defined yet $Bar z; // #error: You need to assign a type to
} }