diff options
author | Hans Bolinder <[email protected]> | 2015-09-14 14:41:48 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-10-09 11:37:54 +0200 |
commit | 973ef43fbb837c7e790d487dbdd7656dc3376717 (patch) | |
tree | 397f422ddd79bff4d8a2b9ec9fe6b1686526b35c /lib/compiler | |
parent | cc5a470ee25f7db55b586f4908e7e6b9057cafea (diff) | |
download | otp-973ef43fbb837c7e790d487dbdd7656dc3376717.tar.gz otp-973ef43fbb837c7e790d487dbdd7656dc3376717.tar.bz2 otp-973ef43fbb837c7e790d487dbdd7656dc3376717.zip |
Update Compiler
A record field type has been modified due to commit 8ce35b2:
"Take out automatic insertion of 'undefined' from typed record fields".
Diffstat (limited to 'lib/compiler')
-rw-r--r-- | lib/compiler/src/core_lint.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/core_lint.erl b/lib/compiler/src/core_lint.erl index cc54f6e411..7d3513c0ba 100644 --- a/lib/compiler/src/core_lint.erl +++ b/lib/compiler/src/core_lint.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1999-2013. All Rights Reserved. +%% Copyright Ericsson AB 1999-2015. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -73,7 +73,7 @@ %% Define the lint state record. -record(lint, {module :: module(), % Current module - func :: fa(), % Current function + func :: fa() | 'undefined', % Current function errors = [] :: [error()], % Errors warnings= [] :: [warning()]}). % Warnings |