aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-09-14 14:41:48 +0200
committerHans Bolinder <[email protected]>2015-10-09 11:37:54 +0200
commit973ef43fbb837c7e790d487dbdd7656dc3376717 (patch)
tree397f422ddd79bff4d8a2b9ec9fe6b1686526b35c /lib
parentcc5a470ee25f7db55b586f4908e7e6b9057cafea (diff)
downloadotp-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')
-rw-r--r--lib/compiler/src/core_lint.erl4
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