From 543a2d1e5a0ee96e782fb184ea5b73b9081c0eff Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Wed, 23 Nov 2016 09:46:58 +0000 Subject: Swap b32 to bool, et al. --- code/demo.odin | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'code') diff --git a/code/demo.odin b/code/demo.odin index 3912fb9f1..2bc59bdc8 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -15,8 +15,6 @@ variadic :: proc(args: ..any) { main :: proc() { fmt.println("Hellope, everybody!") - - variadic(1 as u128, 1 as i128, ) @@ -38,8 +36,8 @@ main :: proc() { z = x | y; fmt.println("x | y", z) z = x &~ y; fmt.println("x &~ y", z) - z = -x - z = ~x + z = -x; fmt.println("-z", z) + z = ~x; fmt.println("~z", z) b: bool b = x == y; fmt.println("x == y", b) -- cgit v1.2.3