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

--- Comment #5 from Vladimir Panteleev <dlang-bugzi...@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.

--

Reply via email to