diff options
author | Björn Gustavsson <[email protected]> | 2011-11-24 10:10:24 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-24 10:15:09 +0100 |
commit | c9419dff4e7601bdd3a0066c2020bb4ee7b201e0 (patch) | |
tree | 04f4bd5591ea69f607aa9c10164a6767f949371f | |
parent | c829087364ec2d97b8112f3a9f30c589edcf12aa (diff) | |
download | otp-c9419dff4e7601bdd3a0066c2020bb4ee7b201e0.tar.gz otp-c9419dff4e7601bdd3a0066c2020bb4ee7b201e0.tar.bz2 otp-c9419dff4e7601bdd3a0066c2020bb4ee7b201e0.zip |
erl_lint: The types introduced in R12B-5 are no longer "newly introduced"
When a new built-in type is introduced, type definitions with the
same name will still be allowed for "a while".
-rw-r--r-- | lib/stdlib/src/erl_lint.erl | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl index 5d45260fe9..e5adb84932 100644 --- a/lib/stdlib/src/erl_lint.erl +++ b/lib/stdlib/src/erl_lint.erl @@ -2767,12 +2767,6 @@ default_types() -> {var, 1}], dict:from_list([{T, -1} || T <- DefTypes]). -%% R12B-5 -is_newly_introduced_builtin_type({module, 0}) -> true; -is_newly_introduced_builtin_type({node, 0}) -> true; -is_newly_introduced_builtin_type({nonempty_string, 0}) -> true; -is_newly_introduced_builtin_type({term, 0}) -> true; -is_newly_introduced_builtin_type({timeout, 0}) -> true; %% R13 is_newly_introduced_builtin_type({arity, 0}) -> true; is_newly_introduced_builtin_type({array, 0}) -> true; % opaque |