https://d.puremagic.com/issues/show_bug.cgi?id=12383

           Summary: dlang.org operator overloading text with DDoc macro.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Philippe Sigaud <[email protected]> 2014-03-16 
17:42:57 CET ---
The binary op overloading on dlang.org has a problem:

http://dlang.org/operatoroverloading.html#Binary

~~~~~~
The expression:

a op b
is rewritten as both:

a.opBinary!("$(METACODE op)")(b)
b.opBinaryRight!("$(METACODE op)")(a)

and the one with the ‘better’ match is selected. It is an error for both to
equally match.
~~~~~~~

The "$(METACODE op)" part should not appear as such.

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

Reply via email to