Skip to content

Commit

Permalink
Add more dialyzer checks (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon authored Feb 6, 2023
1 parent fbd8b90 commit a7293be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{deps, []}.

{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_location, local},
Expand Down
2 changes: 1 addition & 1 deletion src/proc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
%%==============================================================================

%% @doc: Creates a new process.
-spec new() -> Proc :: pid().
-spec new() -> pid() | {error, _}.
new() ->
process_flag(trap_exit, true),
Parent = self(),
Expand Down

0 comments on commit a7293be

Please sign in to comment.