Hi,

It seems valac crashes on recursive struct usage, due to stack
overflow when trying to compile the following code:

namespace test {
   public struct Test {
       Test? test;
   }

   public struct Test2 {
       Test test;
       int i;
   }

   static void main () {
       var l = new List<Test2?> ();
       stdout.printf ("%d", (int)l.length ());
   }
}

Is this a new issue or something that has been fixed since 0.7.10 ?

--tkk
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to