Hi

On Wed, Mar 31, 2010 at 1:26 AM, Thomas Kristensen <[email protected]> wrote:
> Hi,
>
> It seems valac crashes on recursive struct usage, due to stack
> overflow when trying to compile the following code:
>

this appear to be still crashing with git master. I suggest you open a ticket.

regards

> 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
>



-- 
Marc-André Lureau
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to