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 --- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2011-08-02 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 --- Comment #1 from bearophile_hugs eml.cc 2011-08-22 15:00:38 PDT --- 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 --- Comment #2 from Walter Bright <bugzilla digitalmars.com> 2012-03-12 20:40:40 PDT --- (In reply to comment #1)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 --- Comment #3 from Max Klyga <necroment gmail.com> 2012-07-29 06:47:52 PDT --- 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 --- Comment #4 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-04 14:20:10 PDT --- (In reply to comment #3)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 --- Comment #5 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-04 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 --- Comment #6 from github-bugzilla puremagic.com 2012-11-15 06:40:49 PST --- 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 --- Comment #7 from Walter Bright <bugzilla digitalmars.com> 2013-10-03 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