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

--- Comment #6 from Eduard Staniloiu <edi33...@gmail.com> ---
(In reply to kinke from comment #5)
> While I'm not convinced the `goto`s in the `pop{Front,Back}EmptyElements`
> mixins in Phobos are the most elegant way of expressing the logic, the issue
> is that the frontend warns about a skipped *temporary* variable declaration,
> whose lifetime doesn't extend to the goto target.
> 

This is true: the issue spawns from the frontend.

Until this get's fixed, I have a PR to fix this
https://github.com/dlang/phobos/pull/6803

--

Reply via email to