Re: [Vala] Interface properties: private accessors



On 27.11.2008 10:39:27, Ildar Mulyukov wrote:
% 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?

This is what happens when one uses private accessors.

This example makes me think that private accessors simply do not work in interfaces. I guess the whole topic of "Interface properties" needs extensive testing.

Best regards, Ildar
--
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]