Oops we allow direct recursive types.

https://todo.sr.ht/~icefox/garnetc/29
1 files changed, 16 insertions(+), 0 deletions(-)

A => tests/programs/test_recursive_type.gt
A => tests/programs/test_recursive_type.gt +16 -0
@@ 0,0 1,16 @@ 
+-- Format:
+--   status: success
+-- Compile:
+--   status: error
+
+--- TODO: Detect this and do something sensible about it.
+type Foo = struct
+    x: I32,
+    y: I32,
+    z: Foo,
+end
+
+fn main() {} =
+    {}
+end
+