Unexported struct fields on selectors

This commit is contained in:
Ginger Bill
2017-02-19 12:47:02 +00:00
parent 6fdcbefe5d
commit c0d5237b75
3 changed files with 39 additions and 18 deletions

View File

@@ -8,6 +8,13 @@
#import "halloc.odin";
main :: proc() {
m: map[int]int;
m[123] = 312;
fmt.println(m[123]);
delete(m, 123);
fmt.println(m[123]);
/*
/*
Version 0.1.1