Begin writing dynamic map procs and fix using bug in IR

This commit is contained in:
Ginger Bill
2017-02-05 23:52:01 +00:00
parent b1562edccf
commit 00c7489157
11 changed files with 630 additions and 320 deletions
+8 -3
View File
@@ -12,9 +12,14 @@
main :: proc() {
Value :: type f32;
m0: map[int]Value;
m1: map[string]Value;
m2: map[f32]Value;
m: map[int]Value;
m[123] = 345.0;
x, ok := m[123];
if ok {
fmt.println(x);
}
// fm: map[128, int]f32;
/*