From 57af02b91cb3a9eef66137c85aab7e47bdd7d0a5 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 19 Aug 2022 16:31:16 +0200 Subject: labels, #FILE #LINE, some bugfixes, c types --- bootstrap/test2.cff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap/test2.cff') diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff index c4aedd9..d267036 100644 --- a/bootstrap/test2.cff +++ b/bootstrap/test2.cff @@ -16,7 +16,7 @@ def X = 7 + 2; struct Bit { def Z = 3; - fn foo(x T) T { return (~x ^ Z) + X; } + fn foo(x T) T { return (~x ^ X) + Z; } // fn foo(x T) T { return ~x + Y; } } @@ -66,7 +66,7 @@ extern fn main() void { } } - let x = Option:Some 3; + let x = Option:Some(3); let x = Option:None; printf("n %d\n", n.value); -- cgit v1.2.3