[Issue 12220] New: Regression (2.065 git-head): hash.get() does not accept proper parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 21 14:54:33 PST 2014


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

           Summary: Regression (2.065 git-head): hash.get() does not
                    accept proper parameters
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-02-21 14:54:27 PST ---
-----
void main()
{
    short[short] hash;
    auto k = hash.get(1, 1);
}
-----

$ dmd test.d
> Error: template object.get cannot deduce function from argument types !()(short[short], int, int)

Not sure if dupe of some of the reports in
https://d.puremagic.com/issues/show_bug.cgi?id=12167, but each issue should be
filed separately.

-- 
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