[Issue 12001] New: __traits(isSame, int, int) is false

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 26 04:29:30 PST 2014


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

           Summary: __traits(isSame, int, int) is false
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: peter.alexander.au at gmail.com


--- Comment #0 from Peter Alexander <peter.alexander.au at gmail.com> 2014-01-26 04:29:27 PST ---
What the title says: __traits(isSame, int, int) is false. It is false for any
built-in types, not just int.

It really should be true if isSame is to be useful in generic code.

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


More information about the Digitalmars-d-bugs mailing list