Re: [Vala] valac crash on recursive struct usage



Hi

On Wed, Mar 31, 2010 at 1:26 AM, Thomas Kristensen <thomas sovspace com> 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
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




-- 
Marc-André Lureau



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]