Re: [Vala] valac bug: missing array size
- From: JM <interflug1 gmx net>
- To: Nor Jaidi Tuah <norjaidi tuah ubd edu bn>
- Cc: vala-list gnome org
- Subject: Re: [Vala] valac bug: missing array size
- Date: Thu, 09 Sep 2010 08:45:40 +0200
That's an old one:
https://bugzilla.gnome.org/show_bug.cgi?id=570821
I reported it 1,5 years ago.
Regards
Jörn
Am Donnerstag, den 09.09.2010, 12:15 +0800 schrieb Nor Jaidi Tuah:
Compiling the following (valac -c g.vala):
namespace Nsa {
public class ClassB {
public int[] x = {};
public void add() {
x += 1;
}
}
}
produces the following error
g.vala.c:71: error: ‘NsaClassB’ has no member named ‘_x_size_’
Removing 'public' from 'ClassB' or from 'x'
"fixes" the error, but renders ClassB unusable
for a library because non-public names will not
be listed in the generated vapi.
Is this a known bug? Is there a workaround other
than what I stated above?
hand
Nor Jaidi Tuah
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]