On 18.07.2017 00:44, Andrei Alexandrescu wrote:
On 7/17/17 8:38 AM, Steven Schveighoffer wrote:
What is the resolution of how break statements affect static
foreach/foreach?
We initially allowed break and continue to refer to the enclosing
statement, but upon further consideration we will make it an error. This
allows us to collect more experience with the feature and leaves us the
option to permit break/continue later on. I have contacted Timon about
the matter. Thanks! -- Andrei
https://github.com/dlang/DIPs/pull/87
https://github.com/dlang/dmd/pull/7009