Re: [Vala] Gtk.RecentFilterInfo and some interface issues.
- From: Tom Willemsen <tom willemsen archlinux us>
- To: Eduardo Gurgel <edgurgel gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Gtk.RecentFilterInfo and some interface issues.
- Date: Wed, 15 Dec 2010 21:50:16 +0100 (CET)
On Wed, 15 Dec 2010, Eduardo Gurgel wrote:
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.
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 yourself
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]