https://issues.dlang.org/show_bug.cgi?id=24466

elpenguin...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elpenguin...@gmail.com

--- Comment #1 from elpenguin...@gmail.com ---
I don't think it's accurate to do that for all noreturn scopes. Consider:
```
noreturn v(int a) {
    scope(exit) a++;
    {
        scope(exit) a++;
    }
    throw new Exception("Exception");
}
```

In this code, both scope guards should be executed.

--

Reply via email to