[Issue 5087] New: Assertion failure: 'precedence[e->op] != PREC_zero' on line 816 in file 'expression.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 20 10:32:21 PDT 2010
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: nobody at puremagic.com
ReportedBy: sandford at jhu.edu
--- Comment #0 from Rob Jacques <sandford at 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: -------
More information about the Digitalmars-d-bugs
mailing list