aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-24 10:10:24 +0100
committerBjörn Gustavsson <[email protected]>2011-11-24 10:15:09 +0100
commitc9419dff4e7601bdd3a0066c2020bb4ee7b201e0 (patch)
tree04f4bd5591ea69f607aa9c10164a6767f949371f
parentc829087364ec2d97b8112f3a9f30c589edcf12aa (diff)
downloadotp-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.erl6
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