diff options
author | Björn Gustavsson <[email protected]> | 2013-09-09 11:51:45 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-09-09 11:51:45 +0200 |
commit | 2f2824519d13e7745c02efbc7c29c37a76885fee (patch) | |
tree | e407c21c17d0dc52d4e2c75964c68b2f151a6eb9 /lib/compiler/src/core_lint.erl | |
parent | 5943f00b6485ab54294f6fe1e404b15dd3cc9486 (diff) | |
parent | 60984adef62f5e5bf8c65f403d4f8522afb6d40a (diff) | |
download | otp-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.erl | 2 |
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]}. |