aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-10-08 10:07:27 +0200
committerBjörn Gustavsson <[email protected]>2010-10-08 10:12:57 +0200
commit4d2d294031da9d0073ae44fa29399f01f036e026 (patch)
tree18ae6a33e2ac4739a4026066bc986aed974f92a0 /lib
parentf538ae0a22dabe5f5b0e40e0660aeaea0f5c0768 (diff)
downloadotp-4d2d294031da9d0073ae44fa29399f01f036e026.tar.gz
otp-4d2d294031da9d0073ae44fa29399f01f036e026.tar.bz2
otp-4d2d294031da9d0073ae44fa29399f01f036e026.zip
core_lint: Fix the err_desc() type spec
Silence the Dialyzer warning introduced in commit 7b283aa9507b45f2cd403b061ad92ab059fb71b5.
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/core_lint.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compiler/src/core_lint.erl b/lib/compiler/src/core_lint.erl
index 097577b371..b513a8965c 100644
--- a/lib/compiler/src/core_lint.erl
+++ b/lib/compiler/src/core_lint.erl
@@ -65,7 +65,8 @@
| {'return_mismatch', fa()} | {'undefined_function', fa()}
| {'duplicate_var', cerl:var_name(), fa()}
| {'unbound_var', cerl:var_name(), fa()}
- | {'undefined_function', fa(), fa()}.
+ | {'undefined_function', fa(), fa()}
+ | {'tail_segment_not_at_end', fa()}.
-type error() :: {module(), err_desc()}.
-type warning() :: {module(), term()}.