diff options
author | Patrik Nyblom <[email protected]> | 2010-09-01 14:30:14 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-09-10 14:24:42 +0200 |
commit | 19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac (patch) | |
tree | 07492ef6b7f98ef05ecc47518038980173996480 /lib/compiler/src/beam_validator.erl | |
parent | 61b3f9abf28ba87e6042423192685e9d426dd040 (diff) | |
download | otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.tar.gz otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.tar.bz2 otp-19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac.zip |
Remove warnings for clashes with new autoimported BIFs
Diffstat (limited to 'lib/compiler/src/beam_validator.erl')
-rw-r--r-- | lib/compiler/src/beam_validator.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_validator.erl b/lib/compiler/src/beam_validator.erl index f3a2b01e04..fb267b35b6 100644 --- a/lib/compiler/src/beam_validator.erl +++ b/lib/compiler/src/beam_validator.erl @@ -20,6 +20,8 @@ -compile({no_auto_import,[min/2]}). +%% Avoid warning for local function error/1 clashing with autoimported BIF. +-compile({no_auto_import,[error/1]}). -export([file/1, files/1]). %% Interface for compiler. |