Skip to content

Commit e88377f

Browse files
authored
Add missing dialyzer attributes (#13037)
Taken from this list: https://www.erlang.org/doc/man/dialyzer.html#type-warn_option Fixes #13036
1 parent 9a3c732 commit e88377f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/elixir/lib/module.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,9 @@ defmodule Module do
22662266
[:no_match, :no_opaque, :no_fail_call, :no_contracts] ++
22672267
[:no_behaviours, :no_undefined_callbacks, :unmatched_returns] ++
22682268
[:error_handling, :race_conditions, :no_missing_calls] ++
2269-
[:specdiffs, :overspecs, :underspecs, :unknown, :no_underspecs]
2269+
[:specdiffs, :overspecs, :underspecs, :unknown, :no_underspecs] ++
2270+
[:extra_return, :no_extra_return, :no_missing_return] ++
2271+
[:missing_return, :no_unknown]
22702272
)
22712273
end
22722274

0 commit comments

Comments
 (0)