Begin reording of struct members by default.

This commit is contained in:
Ginger Bill
2016-09-09 23:33:54 +01:00
parent 1ca752ce04
commit 6979678ff9
13 changed files with 322 additions and 111 deletions
+8 -1
View File
@@ -1,10 +1,17 @@
#load "basic.odin"
Vector3 :: struct { x, y, z: f32 }
main :: proc() {
Vector3 :: struct {
x: i8
y: i32
z: i16
}
v := Vector3{1, 4, 9}
t := type_info(v)
println(123, "Hello", true, 6.28)
println([4]int{1, 2, 3, 4})
println(v)
}