Thread overview
[Issue 10143] New: Make -property do nothing in preparation for removal
May 23, 2013
Jonathan M Davis
May 30, 2013
Andrej Mitrovic
May 31, 2013
Jonathan M Davis
May 23, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10143

           Summary: Make -property do nothing in preparation for removal
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: jmdavisProg@gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisProg@gmx.com> 2013-05-23 03:00:15 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 30, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10143


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-05-30 14:35:58 PDT ---
So has this been universally approved? (The pre-approved tag comes to mind,
nudge @andrei/walter).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 31, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10143



--- Comment #2 from Jonathan M Davis <jmdavisProg@gmx.com> 2013-05-31 08:41:52 PDT ---
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.

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