www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10320] New: Warning for old-style operator overloading methods definition

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10320

           Summary: Warning for old-style operator overloading methods
                    definition
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bearophile_hugs eml.cc



I suggest to introduce a warning that lists all the usages of the old-style
operator overloading.

(Later they will become deprecated, and then they will be removed (or
conditionally compiled out for D2 if you want to keep the code for D1 for some
more time)).

Rationale: to simplify the D2 compiler.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 10 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10320




Cases like in this thread show that it's important to give a warning now:

http://forum.dlang.org/thread/hwfzaysrfxiiumppxwkt forum.dlang.org

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 02 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10320


monarchdodra gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |monarchdodra gmail.com
           See Also|                            |http://d.puremagic.com/issu
                   |                            |es/show_bug.cgi?id=9257




 Cases like in this thread show that it's important to give a warning now:
 
 http://forum.dlang.org/thread/hwfzaysrfxiiumppxwkt forum.dlang.org
Related (but not duplicate) is also Issue 9257 - [ER] New optional "operator" keyword to validate magic functions http://d.puremagic.com/issues/show_bug.cgi?id=9257 And associated discussion: http://forum.dlang.org/thread/iubdngjksicwxugrqesc forum.dlang.org -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 02 2013