commit d739c6f9a306d8fcae3d03f43697779921e82c67
parent d6fd41ad9138898fb1e9aa166e20dcd8381f662a
Author: Eyal Sawady <ecs@d2evs.net>
Date: Fri, 16 Jul 2021 11:37:07 +0000
Fix comments on arithm test
Signed-off-by: Eyal Sawady <ecs@d2evs.net>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/902-arithm.ha b/tests/902-arithm.ha
@@ -1,10 +1,10 @@
export fn main() int = {
- // Direct
+ // Indirect
let x: int = 10;
x = 2 + 2;
assert(x == 4);
- // Indirect
+ // Direct
let x = [1, 2, 3];
assert(x[1 + 1] == 3);
return 0;