[Issue 10662] byLine!(Char, immutable Char) won't compile in git master

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 18 08:08:29 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10662


Nick Treleaven <ntrel-public at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |


--- Comment #6 from Nick Treleaven <ntrel-public at yahoo.co.uk> 2013-07-18 08:08:27 PDT ---
(In reply to comment #2)
> I question whether or not this is a "rejects valid"

I suppose it's arguable, so I've now removed the rejects-valid keyword. (I
think it did work before the readln(buf) change though).

> That said, I *would* see this as an enhancement, to have a line reader that
> always returns brand new buffers (in which case the line may or may not be
> immutable).

I have some ideas about other solutions, I will post something to the NG next
week. I can't see how fixing this bug would be undesirable, but I agree
byLine!(char, immutable char) is awkward syntax (I have an idea how to improve
it).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list