Thread overview
[Issue 22191] -betterC: Overeager try/catch prohibition
Aug 07, 2021
kinke
Dec 17, 2022
Iain Buclaw
Apr 10, 2023
RazvanN
August 07, 2021
https://issues.dlang.org/show_bug.cgi?id=22191

kinke <kinke@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |betterC

--
August 16, 2021
https://issues.dlang.org/show_bug.cgi?id=22191

Ajieskola@gmail.com changed:

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

--- Comment #1 from Ajieskola@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.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=22191

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
April 10, 2023
https://issues.dlang.org/show_bug.cgi?id=22191

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> ---
Yes, I agree with Ate on this one. Maybe this should be the job of a linting tool.

--