GNOME Bugzilla – Bug 614417
valac crash on recursive struct usage
Last modified: 2010-04-09 07:53:16 UTC
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 ()); } }
commit 4bc6c433a7e3041ef3bd502c802652a8809e29b0 Author: Jürg Billeter <j@bitron.ch> Date: Fri Apr 9 09:52:17 2010 +0200 Fix crash on valid recursive struct usage Fixes bug 614417.