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

Bolpat <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Bolpat <[email protected]> ---
It seems `scope(failure) Fix; After;` lowers to
```d
try
{
    After;
}
catch(Throwable __o40)
{
    Fix;
    throw;
}
```

But it should lower to:
```d
try
{
    After;
}
catch(Throwable __th)
{
    scope(exit) throw __th;
    Fix;
}
```

`scope(failure)` is not supposed to be able to swallow the thrown object.

--

Reply via email to