[Issue 15459] stdin.byLine.each!(map!somefunc) compiles, fails to link with ld

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 25 06:08:16 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=15459

--- Comment #5 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to ZombineDev from comment #4)
> Vladimir, shouldn't this bug be closed as "WORKSFORME", as the bug was that
> the compiler accepted the invalid example in the first place?

Well, the code wasn't technically invalid, just nonsensical. It stopped working
after this PR:

https://github.com/dlang/phobos/pull/5148

I'm not sure if that behavior change was intentional either, hence my comment
there.

There is also no practical difference between INVALID and WORKSFORME in
practice, I think.

--


More information about the Digitalmars-d-bugs mailing list