Finally fix signed integer conversion and printing

This commit is contained in:
Ginger Bill committed 2017-03-10 10:34:25 +00:00
1 parent e2734a2dc6
commit 0fcbda951a
8 files changed
+253 -84

No files matched your search

+4 -4
View File
@@ -9,10 +9,10 @@
#import "sync.odin";
main :: proc() {
x := 2;
y := 3;
z := x+y;
fmt.println(z);
a: i8 = -1;
fmt.println(a, cast(u64)a, cast(i64)a);
b: i64 = -1;
fmt.println(b, cast(u64)b, cast(i64)b);
when false {
s := new_slice(int, 0, 10);