[Issue 12235] New: ICE on printing mangled name of forward reference lambda by pragma(msg)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 23 15:54:52 PST 2014


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

           Summary: ICE on printing mangled name of forward reference
                    lambda by pragma(msg)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2014-02-23 15:54:49 PST ---
void main()
{
    (){
        int x;
        enum s = __traits(parent, x).mangleof;  // Error, but no ICE
        //pragma(msg, __traits(parent, x).mangleof);  // ICE
    }();
}

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