Skip to content

Allow building with OTP-29#2996

Open
mikpe wants to merge 11 commits intoerlang:mainfrom
mikpe:allow-building-with-otp29
Open

Allow building with OTP-29#2996
mikpe wants to merge 11 commits intoerlang:mainfrom
mikpe:allow-building-with-otp29

Conversation

@mikpe
Copy link
Contributor

@mikpe mikpe commented Feb 21, 2026

rebar3 currently doesn't build with OTP-29.0-rc1 due to new warnings about deprecated language features. This fixes them. Some notes:

  • The rebar_user module uses "interesting" control flow that depends on old-style catch semantics in at least one place, possibly more. Where I wasn't absolutely sure no such dependency existed, I used a helper function to emulate old-style catches. This can hopefully be cleaned up in the future.
  • The rebar_prv_cover:cover_compile_file/1 function uses catch to turn any exit or error in the call into a case_clause error. The rewrite preserves that.
  • ec_talk:get_integer/1 had an error (it spelled 'EXIT' wrong) which has been corrected as part of eliminating the old-style catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant