aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-12-04 23:41:21 +0000
committerGinger Bill <bill@gingerbill.org>2016-12-04 23:41:21 +0000
commit8ec9811d7a552e96600286a58b5b5303b79f88ed (patch)
tree47ddb535e372606435182cdc090716440a77cf99 /code
parentc71b547cdeecaa4cc7743be18fcc44f6a9da9c39 (diff)
Fix (Crude) cyclic type checking for arrays and vectors
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin11
1 files changed, 11 insertions, 0 deletions
diff --git a/code/demo.odin b/code/demo.odin
index d01db00ac..4198c1468 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -1,6 +1,17 @@
// #import "game.odin";
#import "fmt.odin";
+A :: type struct {
+ b: B;
+};
+B :: type struct {
+ c: C;
+};
+C :: type struct {
+ a: A;
+};
+
+
main :: proc() {
fmt.println(123);
}