July 23 [Issue 24676] New: Allow break and continue in scope(exit/failure/success) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24676 Issue ID: 24676 Summary: Allow break and continue in scope(exit/failure/success) Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: qs.il.paperinik@gmail.com There is no good reason why `scope` statements can’t contain `break` and `continue` statements. The lowering absolutely supports these. Also, `goto` should be allowed. Cf. Issue 24460. -- |
Copyright © 1999-2021 by the D Language Foundation