[Vala] segmentation fault when property default is set to a struct
- From: Nor Jaidi Tuah <norjaidi tuah ubd edu bn>
- To: vala-list gnome org
- Subject: [Vala] segmentation fault when property default is set to a struct
- Date: Mon, 04 Jan 2010 17:01:27 +0800
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]