compiler: Enable warn_deprecated_catch by default
I think the warnings for deprecated catches should be turned on by default in OTP 29.
CT Test Results
28 files 901 suites 6h 15m 48s ⏱️ 8 779 tests 8 355 ✅ 424 💤 0 ❌ 20 879 runs 19 199 ✅ 1 680 💤 0 ❌
Results for commit 58a6972a.
:recycle: This comment has been updated with latest results.
To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.
See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.
Artifacts
// Erlang/OTP Github Action Bot
Finally a green buld on this too after rebasing.
OTB approved this pull request yesterday.
Unfortunately, I can't add the PR to our daily builds yet, because out internal CI tries to build rebar3 and https://github.com/erlware/erlware_commons, and both fail to build because they use the old-style catch. I will need to update the CI to disable the warning; I might not be able to do that until next year.
Might I suggest that you submit pull requests to both of those projects to disable the warning?
Might I suggest that you submit pull requests to both of those projects to disable the warning?
Tried to make a patch, but their build scripts are doing my head in. A quick fix that works for me is to define export ERL_COMPILER_OPTIONS='[nowarn_deprecated_catch]' in your CI when it builds rebar3.