DIP 1010--Static foreach--Accepted
Andrei Alexandrescu via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Jul 17 15:44:47 PDT 2017
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
More information about the Digitalmars-d-announce
mailing list