[Issue 8110] New: DMD tries to opCast when doing opEquals, and fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 16 13:46:39 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8110

           Summary: DMD tries to opCast when doing opEquals, and fails
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: meh at paranoici.org


--- Comment #0 from meh. <meh at paranoici.org> 2012-05-16 13:48:09 PDT ---
The attached code fails with the following errors:

lol.d(14): Error: template instance opCast!(Object) opCast!(Object) does not
match template declaration opCast(T : int)
lol.d(14): Error: function expected before (), not a.opCast!(Object) of type
void

I've been told to open a bug about it, so here it is.

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


More information about the Digitalmars-d-bugs mailing list