https://issues.dlang.org/show_bug.cgi?id=19213
ki...@gmx.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ki...@gmx.net --- Comment #5 from ki...@gmx.net --- 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. It may be enough to exclude `STC.temp` vars from the error, just like for `STC.exptemp` in https://github.com/dlang/dmd/blob/06d579823bddf8cae735408f6cc81d4789ace520/src/dmd/statement.d#L2270. I think the temporaries are bound to their statement (which cannot cross the goto label) but I'm not 100% sure that's always the case. --