[Issue 6993] File.byLine runs on an empty file, fails enforcement

2011-11-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6993 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2011-11-23 09:15:25 PST --- (In reply to comment #1) I don't see any reason why an exception would be thrown from File's constructor for an empty file. It certainly doesn't say

[Issue 6993] File.byLine runs on an empty file, fails enforcement

2011-11-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6993 --- Comment #3 from Jonathan M Davis jmdavisp...@gmx.com 2011-11-23 09:26:47 PST --- Oh. I agree completely. I think that byLine should just be empty when the file is empty, so no iteration occurs. I don't know what the exact details of

[Issue 6993] File.byLine runs on an empty file, fails enforcement

2011-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6993 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED