aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/core_lint.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-09 11:52:21 +0200
committerBjörn Gustavsson <[email protected]>2013-09-09 11:52:21 +0200
commit45eaf81506de99c915fe480553bf761667627001 (patch)
tree238f5202860e61ccc73555bd8a68940c6ac92819 /lib/compiler/src/core_lint.erl
parentf461ee79e2dde881bc5ba9c7fe729993ccfe2884 (diff)
parent2f2824519d13e7745c02efbc7c29c37a76885fee (diff)
downloadotp-45eaf81506de99c915fe480553bf761667627001.tar.gz
otp-45eaf81506de99c915fe480553bf761667627001.tar.bz2
otp-45eaf81506de99c915fe480553bf761667627001.zip
Merge branch 'maint'
* maint: compiler: Conform returned errors to the documented format
Diffstat (limited to 'lib/compiler/src/core_lint.erl')
-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 1e8983f594..e5d5fa2bcd 100644
--- a/lib/compiler/src/core_lint.erl
+++ b/lib/compiler/src/core_lint.erl
@@ -162,7 +162,7 @@ return_status(St) ->
%% add_warning(ErrorDescriptor, State) -> State'
%% Note that we don't use line numbers here.
-add_error(E, St) -> St#lint{errors=[{?MODULE,E}|St#lint.errors]}.
+add_error(E, St) -> St#lint{errors=[{none,?MODULE,E}|St#lint.errors]}.
%%add_warning(W, St) -> St#lint{warnings=[{none,core_lint,W}|St#lint.warnings]}.