Fix +a = 1 erronously being accepted. Refactorings.

This commit is contained in:
Christoffer Lerno
2025-01-05 02:24:11 +01:00
parent 86a674b87e
commit 07c59e6a6c
18 changed files with 304 additions and 387 deletions

View File

@@ -83,6 +83,8 @@ fn void! testb() @test
fn void! testi() @test
{
int[<4>] x = { 4, 0, -1, 33 };
assert({ true, false, true, true} == (bool[<4>])x);
int[<4>] y = { 1, 2, 3, 4 };
int[<4>] z = { 2, 2, 2, -100 };
int[<4>] w = y + z;