digitalmars.D.bugs - [Issue 8014] New: ICE(elfobj.c) delegate literal as alias template parameter
- d-bugmail puremagic.com (29/29) May 02 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8014
- d-bugmail puremagic.com (12/12) Oct 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8014
http://d.puremagic.com/issues/show_bug.cgi?id=8014 Summary: ICE(elfobj.c) delegate literal as alias template parameter Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: clugdbug yahoo.com.au struct S { int delegate(int n) x; void foo(alias a)() { x = a; } } int delegate(int n) kkk = delegate(int n) { return n; }; void main() { S s; s.foo!(kkk); } bug.d(17): Error: non-constant nested delegate literal expression __dgliteral1 Internal error: ../ztc/elfobj.c 455 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 02 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8014 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com Version|D1 & D2 |D1 22:53:51 PDT --- I get the error message, but not the internal error, with 2.064 head. Relabeled as D1 only. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 06 2013