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

--- Comment #1 from Martin Nowak <[email protected]> ---
Even if `l` is not inferred as scope, it should be a local with limited
lifetime.
The return value `l.front` should have that same lifetime b/c of `return
scope`.
Both of them should be shorter as `elem`, hence assignment should fail.

--

Reply via email to