Em 14-12-2010 19:44, Frederik escreveu:
> On 12/14/2010 07:27 PM, Erick Pérez Castellanos wrote:
> The standard property implementation above can be written shorter:
>       public int foo { get; set; }
>


This code gives an error: "... already contains a definition for `_foo'"

        private int _foo;
        public int foo { get;    set; }

Should it happen? The compiler is exposing internal treament to the user.

Is there any intent to change this behaviour?

-- 
Eduardo Gurgel


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to