May 02, 2012 [Issue 8014] New: ICE(elfobj.c) delegate literal as alias template parameter | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Don <clugdbug@yahoo.com.au> 2012-05-02 01:30:56 PDT --- 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: ------- |
October 07, 2013 [Issue 8014] ICE(elfobj.c) delegate literal as alias template parameter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | 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 --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2013-10-06 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: ------- |
Copyright © 1999-2021 by the D Language Foundation