Switchable array bounds checking

This commit is contained in:
Ginger Bill
2016-09-12 14:41:36 +01:00
parent 687e78d5dd
commit 9ff4a8b5ab
20 changed files with 243 additions and 1840 deletions
-18
View File
@@ -1,18 +0,0 @@
#load "basic.odin"
main :: proc() {
Vector4 :: struct {
x: i8
y: i32
z: i16
w: i16
}
v := Vector4{1, 4, 9, 16}
t := type_info(v)
println(123, "Hello", true, 6.28)
println([4]int{1, 2, 3, 4})
println(v)
}