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

           Summary: Assertion failure: 'precedence[e->op] != PREC_zero' on
                    line 816 in file 'expression.c'
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: sandf...@jhu.edu


--- Comment #0 from Rob Jacques <sandf...@jhu.edu> 2010-10-20 10:31:40 PDT ---
Using DMD 2.049, using the msg pragma on a template tuple instantiated from a
template function results in an ICE.:

Assertion failure: 'precedence[e->op] != PREC_zero' on line 816 in file
'expression.c'

Test code:

T foo(T)(T t) { return t; }
template map(fun...) {
    pragma(msg,fun);
    enum map = 5;
}

void main() {
    map!foo;
    return;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to