https://issues.dlang.org/show_bug.cgi?id=4474
Andrei Alexandrescu changed:
What|Removed |Added
Status|REOPENED|RESOLVED
https://issues.dlang.org/show_bug.cgi?id=4474
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
http://d.puremagic.com/issues/show_bug.cgi?id=4474
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=4474
--- Comment #2 from bearophile_h...@eml.cc 2010-07-17 08:29:20 PDT ---
OK, changed title in Better instead of Safer.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because:
http://d.puremagic.com/issues/show_bug.cgi?id=4474
--- Comment #3 from bearophile_h...@eml.cc 2010-07-17 09:10:49 PDT ---
This is a small test program (dmd v2.047):
import std.string, std.stdio;
void main() {
int[string] aa;
foreach (line; stdin.byLine())
foreach (word;
http://d.puremagic.com/issues/show_bug.cgi?id=4474
--- Comment #4 from Andrei Alexandrescu and...@metalanguage.com 2010-07-17
11:06:02 PDT ---
That example is the manifestation of another bug:
http://d.puremagic.com/issues/show_bug.cgi?id=2954
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=4474
--- Comment #5 from bearophile_h...@eml.cc 2010-07-17 11:46:28 PDT ---
If you think this bug report is invalid and byLine() is safe (because the type
system is enough, being able to tell apart char[] and string), then you can
close this bug