aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_lint.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-04-19 14:22:25 +0200
committerHans Bolinder <[email protected]>2016-04-19 14:22:25 +0200
commitc9a6ac443351f8683d06764d68e4a53521d9371a (patch)
treefc0d7b0b2be98f735bd65128f0d2c8798af7f981 /lib/stdlib/src/erl_lint.erl
parent58c0f8de7a27a659fe2b534a86752f67da1af998 (diff)
downloadotp-c9a6ac443351f8683d06764d68e4a53521d9371a.tar.gz
otp-c9a6ac443351f8683d06764d68e4a53521d9371a.tar.bz2
otp-c9a6ac443351f8683d06764d68e4a53521d9371a.zip
stdlib: Fix warnings
Diffstat (limited to 'lib/stdlib/src/erl_lint.erl')
-rw-r--r--lib/stdlib/src/erl_lint.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl
index 7e5535f41e..b14102ac38 100644
--- a/lib/stdlib/src/erl_lint.erl
+++ b/lib/stdlib/src/erl_lint.erl
@@ -2653,6 +2653,8 @@ find_field(_F, []) -> error.
%% Attr :: 'type' | 'opaque'
%% Checks that a type definition is valid.
+-dialyzer({no_match, type_def/6}).
+
type_def(Attr, Line, TypeName, ProtoType, Args, St0) ->
TypeDefs = St0#lint.types,
Arity = length(Args),