diff options
Diffstat (limited to 'bootstrap/test2.cff')
| -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); |