[Issue 12207] New: IFTI fails for static method of immutable type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 19 17:04:21 PST 2014


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

           Summary: IFTI fails for static method of immutable type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-20 03:04:17 EET ---
struct S
{
    static void f(T)(T) {}
}

immutable S s;

void main()
{
    s.f(1);
}

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