[Vala] valac crash on recursive struct usage
- From: Thomas Kristensen <thomas sovspace com>
- To: Vala-list gnome org
- Subject: [Vala] valac crash on recursive struct usage
- Date: Wed, 31 Mar 2010 01:26:50 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]