Skip to content

Commit

Permalink
[RTI-13896] Add more dialyzer checks (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon authored Feb 3, 2023
1 parent 6ab7ae9 commit c2fd037
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
otp: ['23.3', '24.3', '25.2.1']
otp: ['25.2.1']
rebar: ['3.20.0']

steps:
Expand Down
6 changes: 3 additions & 3 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
report,
debug_info]}.

{minimum_otp_vsn, "22"}.
{minimum_otp_vsn, "25"}.

{cover_enabled, true}.

Expand All @@ -28,9 +28,9 @@
deprecated_functions]}.

{dialyzer,
[{warnings, [no_return, error_handling]},
[{warnings, [unknown, no_return, error_handling, missing_return, extra_return]},
{plt_apps, top_level_deps},
{plt_extra_apps, []},
{plt_extra_apps, [b64fast]},
{plt_location, local},
{base_plt_apps, [erts, stdlib, kernel]},
{base_plt_location, global}]}.
Expand Down
3 changes: 3 additions & 0 deletions src/kinetic.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
-module(kinetic).

%% @todo Remove once https://github.com/erlang/otp/issues/6779 is fixed
-dialyzer([{no_missing_return, [start/2]}]).

-behaviour(application).

-export([start/0, stop/0]).
Expand Down

0 comments on commit c2fd037

Please sign in to comment.