diff options
| author | 2022-08-19 16:31:16 +0200 | |
|---|---|---|
| committer | 2022-08-19 16:31:16 +0200 | |
| commit | 57af02b91cb3a9eef66137c85aab7e47bdd7d0a5 (patch) | |
| tree | c0597811c61d473263559ab7ffefe68ab8785c47 /bootstrap | |
| parent | 9e408967cbdfa1d04e4bd4bc963399e7be78c0a7 (diff) | |
labels, #FILE #LINE, some bugfixes, c types
Diffstat (limited to 'bootstrap')
| -rw-r--r-- | bootstrap/test2.cff | 4 |
1 files changed, 2 insertions, 2 deletions
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<T> { 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<int>:Some 3; + let x = Option<int>:Some(3); let x = Option<f32>:None; printf("n %d\n", n.value); |