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

Reply via email to