Const Aggregate Literals for IR; Module path fix

This commit is contained in:
Ginger Bill
2016-09-30 23:34:32 +01:00
parent c6aac264fa
commit 17ab23f1f0
9 changed files with 306 additions and 143 deletions

View File

@@ -2,16 +2,8 @@
#import "utf8.odin"
#import "hash.odin"
#import "mem.odin"
#import "game.odin"
main :: proc() {
Vec3 :: struct {
x, y: i16
z: int
}
z := 123
v := Vec3{x = 4, y = 5, z = z}
fmt.println(v)
}