aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/core_lint.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-09 11:51:45 +0200
committerBjörn Gustavsson <[email protected]>2013-09-09 11:51:45 +0200
commit2f2824519d13e7745c02efbc7c29c37a76885fee (patch)
treee407c21c17d0dc52d4e2c75964c68b2f151a6eb9 /lib/compiler/src/core_lint.erl
parent5943f00b6485ab54294f6fe1e404b15dd3cc9486 (diff)
parent60984adef62f5e5bf8c65f403d4f8522afb6d40a (diff)
downloadotp-2f2824519d13e7745c02efbc7c29c37a76885fee.tar.gz
otp-2f2824519d13e7745c02efbc7c29c37a76885fee.tar.bz2
otp-2f2824519d13e7745c02efbc7c29c37a76885fee.zip
Merge branch 'bjorn/compiler/return_errors/OTP-11304' into maint
* bjorn/compiler/return_errors/OTP-11304: 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]}.