aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-09 19:29:13 +0200
committerBjörn Gustavsson <[email protected]>2013-09-09 19:31:35 +0200
commitd63019dad7dc4fb6765a8e82967785878a7b5e98 (patch)
tree7279079096af3e170c3ce59f9dd9049d07b66516 /lib/compiler/src
parent82bc96acf24be36e690225f1adac1854ff693f58 (diff)
downloadotp-d63019dad7dc4fb6765a8e82967785878a7b5e98.tar.gz
otp-d63019dad7dc4fb6765a8e82967785878a7b5e98.tar.bz2
otp-d63019dad7dc4fb6765a8e82967785878a7b5e98.zip
core_lint: Correct the type error() to conform to the code
Commit 60984ade updated the code, but not the type spec. Noticed-by: Kostis Sagonas
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/core_lint.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/core_lint.erl b/lib/compiler/src/core_lint.erl
index e5d5fa2bcd..67d37ff1fc 100644
--- a/lib/compiler/src/core_lint.erl
+++ b/lib/compiler/src/core_lint.erl
@@ -68,7 +68,7 @@
| {'undefined_function', fa(), fa()}
| {'tail_segment_not_at_end', fa()}.
--type error() :: {module(), err_desc()}.
+-type error() :: {'none', module(), err_desc()}.
-type warning() :: {module(), term()}.
%%-----------------------------------------------------------------------