digitalmars.D.bugs - [Issue 6426] New: Internal error with function-nested alias
- d-bugmail puremagic.com (32/32) Aug 02 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6426
- d-bugmail puremagic.com (10/10) Aug 22 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6426
- d-bugmail puremagic.com (11/12) Mar 12 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6426
- d-bugmail puremagic.com (29/29) Jul 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6426
- d-bugmail puremagic.com (13/16) Oct 04 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6426
- d-bugmail puremagic.com (10/10) Oct 04 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6426
- d-bugmail puremagic.com (9/9) Nov 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6426
- d-bugmail puremagic.com (11/11) Oct 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=6426
http://d.puremagic.com/issues/show_bug.cgi?id=6426 Summary: Internal error with function-nested alias Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 05:47:40 PDT --- DMD 2.054, XP32: import std.algorithm; void main() { alias reduce!((a, b){ return min(a, b); }) rngMin2; auto arr2 = map!(rngMin2)([[1, 2], [1, 2]]); } Internal error: toir.c 190 The code above can be written simpler like below: import std.algorithm; void main() { alias reduce!(min) rngMin; auto arr1 = map!(rngMin)([[1, 2], [1, 2]]); // ok } But that's beside the point. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 02 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6426 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc Same as 4504 ? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 22 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6426 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com 20:40:40 PDT ---Same as 4504 ?No. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 12 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6426 Max Klyga <necroment gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |necroment gmail.com DMD 2.069, OS X 10.6.8 Reduced test case: template unaryFun(alias fun) { alias fun unaryFun; } template map(fun...) { auto map(Range)(Range ) { alias unaryFun!fun _fun; property back() { _fun; } } } template reduce(fun...) { auto reduce()() {} } void main() { alias reduce!({}) rngMin2; map!rngMin2([]); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6426 14:20:10 PDT ---DMD 2.069, OS X 10.6.8 Reduced test case:Your test case works, but my OP sample doesn't ICE anymore, instead it errors: Error: function std.algorithm.MapResult!(reduce,int[][]).MapResult.back cannot get frame pointer to reduce Error: function std.algorithm.MapResult!(reduce,int[][]).MapResult.front cannot get frame pointer to reduce Error: function std.algorithm.MapResult!(reduce,int[][]).MapResult.opIndex cannot get frame pointer to reduce -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 04 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6426 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal 14:21:02 PDT --- Anyway it's not a blocker. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 04 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6426 Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5fa0354c6dffac5b982ed97ed94d022b6320619f Error missing line number in bug 6426 Doesn't fix the actual bug, but makes the error message a bit less horrible. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6426 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME 18:08:21 PDT --- This compiles successfully with 2.064 head. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 03 2013