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

--- Comment #6 from Nick Treleaven <[email protected]> ---
(In reply to Denis Shelomovskii from comment #0)
>     static assert(!__traits(compiles, { foreach(ref n; S1()) { } })); // fails

This line still fails, so reopening. This could be fixed in the next edition.

--

Reply via email to