Remove len(), cap() and replace with selectors; fix defer in match

This commit is contained in:
Ginger Bill
2016-09-13 14:04:05 +01:00
parent 59fb74d2a2
commit 817ae643c5
11 changed files with 454 additions and 333 deletions
+6 -2
View File
@@ -1,6 +1,10 @@
#load "basic.odin"
main :: proc() {
println("% % % %", "Hellope", true, 6.28, [4]int{1, 2, 3, 4})
println("%0 %1 %0", "Hellope", 34)
println("% % % %", "Hellope", true, 6.28, {4}int{1, 2, 3, 4})
x: struct #ordered {
x, y: int
z: f32
}
println("%", x)
}