https://issues.dlang.org/show_bug.cgi?id=5753
RazvanN changed:
What|Removed |Added
Status|REOPENED|RESOLVED
https://issues.dlang.org/show_bug.cgi?id=5753
Andrei Alexandrescu changed:
What|Removed |Added
Keywords||bootcamp
https://issues.dlang.org/show_bug.cgi?id=5753
Ryuichi OHORI changed:
What|Removed |Added
Status|RESOLVED|REOPENED
/cef8d54a7b2ef853917af471af0a5657914b8578
Fix Issue 5753 - Disallow map with void function.
https://d.puremagic.com/issues/show_bug.cgi?id=5753
https://github.com/D-Programming-Language/phobos/commit/b9376581bd42ac30a9761b8ad5f1a8ed40de866e
Merge pull request #1917 from Poita/bug5753
Fix Issue 5753 - Disallow map with void
https://d.puremagic.com/issues/show_bug.cgi?id=5753
Peter Alexander peter.alexander...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://d.puremagic.com/issues/show_bug.cgi?id=5753
Peter Alexander peter.alexander...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5753
Pedro Rodrigues pdfrodrig...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=5753
--- Comment #4 from bearophile_h...@eml.cc 2011-04-24 12:43:54 PDT ---
For Phobos devs: see also the comment about mixing up lazy evaluation with side
effects: http://d.puremagic.com/issues/show_bug.cgi?id=5804#c2
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=5753
--- Comment #1 from bearophile_h...@eml.cc 2011-03-19 07:12:24 PDT ---
A simpler example:
import std.algorithm;
void foo(int x) {}
void main() {
int[] data = [1, 2, 3];
map!foo(data);
}
--
Configure issuemail: