mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-20 04:35:00 -07:00
Fix polymorphic element types usage; Empty union as opaque type
This commit is contained in:
+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