[Issue 9240] New: (Regression: 2.058) non-const does not implicitly convert to const

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 29 08:48:00 PST 2012


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

           Summary: (Regression: 2.058) non-const does not implicitly
                    convert to const
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          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> 2012-12-29 08:48:00 PST ---
void ok(const(int*)*) { }
void ng(const(int)**) { }

void main()
{
    int** x;
    ok(x);
    ng(x);
}

'ng' call fails to compile since 2.058

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