Skip to content

Commit

Permalink
Merge pull request #2905 from ariel-anieli/bootstrap-defs-deprecation
Browse files Browse the repository at this point in the history
Cleaned up additional definitions in `bootstrap`
  • Loading branch information
ferd authored Jul 15, 2024
2 parents fbb8263 + 2aecbc8 commit 4ca95a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -623,10 +623,7 @@ format_error(AbsSource, Extra, {Mod, Desc}) ->
io_lib:format("~s: ~s~s~n", [AbsSource, Extra, ErrorDesc]).

additional_defines() ->
[{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types},
{"^(20)", fun_stacktrace},
{"^(2)", rand_module}],
is_otp_release(Re)].
[{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types}], is_otp_release(Re)].

is_otp_release(ArchRegex) ->
case re:run(otp_release(), ArchRegex, [{capture, none}]) of
Expand Down

0 comments on commit 4ca95a1

Please sign in to comment.