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

--- Comment #12 from Nick Treleaven <[email protected]> ---
If you define `front` as `return`, *not* `return scope`:

    Elem front() @safe return

You get an error for:

    elem = l.front;

I think that fixes this issue, though that feature may need documenting.

--

Reply via email to