Fix polymorphic element types usage; Empty union as opaque type
This commit is contained in:
1 parent
13bc6eeea4
commit
9a3b4167bb
14 files changed
+228
-170
No files matched your search
+6
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user