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

           Summary: std.traits.ReturnType broken for ref returns
           Product: D
           Version: 2.040
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from David Simcha <[email protected]> 2010-01-30 15:54:58 PST ---
import std.traits;

ref uint foo(ref uint num) {
    return num;
}

pragma(msg, ReturnType!(foo));  // uint, not ref uint.

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

Reply via email to