Bug 10143 – Make -property do nothing in preparation for removal
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-23T03:00:15Z
Last change time
2018-06-24T07:44:04Z
Assigned to
No Owner
Creator
Jonathan M Davis
Comments
Comment #0 by issues.dlang — 2013-05-23T03:00:15Z
It's pretty clear at this point that we are _not_ going to have strict property enforcement and that we are _not_ going to require that non-property functions be called with parens (which is what -property currently tries to enforce). So, there is no point in keeping -property around. It's trying to enforce something that we're definitely not going to do.
So, I propose that as the first stage toward getting rid of it, we make it a no-op. That way, we can remove -property from Phobos and druntime and move towards getting rid of it entirely.
Comment #1 by andrej.mitrovich — 2013-05-30T14:35:58Z
So has this been universally approved? (The pre-approved tag comes to mind, nudge @andrei/walter).
Comment #2 by issues.dlang — 2013-05-31T08:41:52Z
The consensus was definitely in favor of _not_ having strict property enforcement, and I believe that both Walter and Andrei agreed with that, and without strict property enforcement, -property is pointless and incorrect. So, I would fully expect Walter or Andrei to pre-approve this if they saw it, but AFAIK, they haven't read this enhancement request.