[Issue 22191] -betterC: Overeager try/catch prohibition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 16 18:59:08 UTC 2021


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

Ajieskola at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ajieskola at gmail.com

--- Comment #1 from Ajieskola at gmail.com ---
I'd argue it's good that this one does not compile. Not because it couldn't be
compiled, but because checking for redundant `catch`ing isn't required
behaviour in the spec. Programs that do this as -betterC would be relying on
implementation-specific functionality.

--


More information about the Digitalmars-d-bugs mailing list