[Issue 12595] dup/idup shouldn't be property functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 24 14:06:24 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12595

Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com

--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> ---
Agreed. Properties are supposed to emulate variables. That's the whole idea
behind them. dup and idup don't fit that bill at all. They're clearly
functions, and if you want to still call them without parens, well empty parens
are optional, so you can.

--


More information about the Digitalmars-d-bugs mailing list