aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-10-23 22:50:15 +0100
committerGinger Bill <bill@gingerbill.org>2016-10-23 22:50:15 +0100
commita5c1e83ce401eb78ae8e5b7b6a36ec812b3dfbf0 (patch)
tree1ecdda0750d011f16b962af73aea87f6e6cd18da /code
parentb454371f3b16d8c75671362ee673ccc72b722276 (diff)
Fix Type_Info bug overwriting type_info data.
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin5
1 files changed, 3 insertions, 2 deletions
diff --git a/code/demo.odin b/code/demo.odin
index c9dfd7367..a62485b80 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -1,9 +1,10 @@
#import "fmt.odin"
+a: [12]u8
main :: proc() {
- v: {4}f32
+ v: [4]f32
v[0] = 123
- fmt.println("Hellope!", v, v[0])
+ fmt.println("Hellope!", v, v[0], a)
}