[Issue 11748] New: [ICE] function call as alias parameter of template gives ICE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 15 04:21:40 PST 2013


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

           Summary: [ICE] function call as alias parameter of template
                    gives ICE
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: advmail at katamail.com


--- Comment #0 from Andrea Fontana <advmail at katamail.com> 2013-12-15 04:21:38 PST ---
Internal error: s2ir.c 135

Example:

enum my_template(alias T) = T.stringof;
void my_function(int i) { }
my_template!(my_function(0));

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