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

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Walter Bright <[email protected]> ---
The problem is solved if -preview=dip1000 is used to compile it.

But as a general practice, I recommend adding `scope` to the delegate parameter
to opApply().

--

Reply via email to