The following kill valac (version 0.7.8) with
a segmentation fault:

*** valac killer 1 ***
struct SomeStruct {
  string s;
}
class SomeClass {
  public SomeStruct p {get; set; default = SomeStruct();}
}

*** valac killer 2 : error correctly reported, but compiler dies ***
struct SomeStruct {
  string s;
}
class SomeClass {
  public SomeStruct p {get; set; default = X();}
}

*** valac killer 3 : compiler dies without reporting the error ***
struct SomeStruct {
  string s;
}
class SomeClass {
  public SomeStruct p {get; set; default = ();}
}

hand
Nor Jaidi Tuah



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

Reply via email to