Fix polymorphic element types usage; Empty union as opaque type

This commit is contained in:
Ginger Bill
2017-07-20 19:40:51 +01:00
parent 13bc6eeea4
commit 9a3b4167bb
14 changed files with 228 additions and 170 deletions
+6 -1
View File
@@ -1,6 +1,11 @@
import "fmt.odin";
import "strconv.odin";
Opaque :: union{};
main :: proc() {
fmt.println("Hellope!");
buf := make([]u8, 0, 10);
s := strconv.append_bool(buf, true);
fmt.println(s);
}