Re: [Vala] Interface properties
- From: Ildar Mulyukov <ildar users sourceforge net>
- To: Vala compiler development and discussion <vala-list gnome org>
- Subject: Re: [Vala] Interface properties
- Date: Thu, 27 Nov 2008 10:39:27 +0600
On 22.11.2008 18:12:06, Ildar Mulyukov wrote:
Hello,
just another one try to use a property in an interface.
...
2. Because of the point 1, one have to write such strange things as:
public string str1 { get; private set; }
Though it doesn't work either (i.e. valac cl1.vala if2.vala ). I hope
that the patch of Alexander Bokovoy will fix that (see that letter):
Hi!
Even the patch above doesn't help. I got:
construct {
str1 = "aa";
}
% valac cl1.vala if2.vala
/tmp/.private/ildar/cc8mGVTD.o: In function `ns1_cl1_constructor':
cl1.c:(.text+0x160): undefined reference to `ns1_i1_set_str1'
Why this stupid compiler tries to use _interface's_accessor_?
Any comments?
Regards,
--
Ildar Mulyukov, free SW designer/programmer
================================================
email: ildar users sourceforge net
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]