http://d.puremagic.com/issues/show_bug.cgi?id=7176


Artem Borisovskiy <kolo...@bk.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kolo...@bk.ru


--- Comment #10 from Artem Borisovskiy <kolo...@bk.ru> 2012-07-20 05:37:43 PDT 
---
> class Foo
> {
>     @property int bar;
> }
> 
> Is lowered to this:
> 
> class Foo
> {
>     private int bar_;
> 
>     @property int bar () { return bar_; }
>     @property int bar (int value) { return bar_ = value; }
> }

Why not just make bar_ public? You do not add any code to the getter nor to the
setter anyway.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to