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
> [email protected]
> http://mail.gnome.org/mailman/listinfo/vala-list


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

Reply via email to