On Wed, 15 Dec 2010, Eduardo Gurgel wrote:
Yes, when you're using automatic properties (sorry I don't actually know what you call them, but this is what they're called in C#) the compiler will define _foo for you, you don't need to do it yourselfEm 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.
If I understand correctly myself :)
Is there any intent to change this behaviour?
-- I'm do not work with/on/near the archlinux team. I'm just a fan
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
