[Issue 24676] New: Allow break and continue in scope(exit/failure/success)
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Jul 23 14:43:59 UTC 2024
    
    
  
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 at puremagic.com
          Reporter: qs.il.paperinik at 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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list