aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-03-07 10:03:06 +0100
committerHans Bolinder <[email protected]>2014-03-07 10:03:06 +0100
commit5017c6e4de41a95cd489aa0b3ddda0eb8d821623 (patch)
tree7827da4d5058ca65da8c479b71e09e998c9550eb /lib/stdlib/src
parent4b7beb12a04415181053669a2b578efd6c647182 (diff)
parent568a9213dbc195107b23e6604a68b60ff5646f58 (diff)
downloadotp-5017c6e4de41a95cd489aa0b3ddda0eb8d821623.tar.gz
otp-5017c6e4de41a95cd489aa0b3ddda0eb8d821623.tar.bz2
otp-5017c6e4de41a95cd489aa0b3ddda0eb8d821623.zip
Merge branch 'hb/stdlib/linter_errors/OTP-11771'
* hb/stdlib/linter_errors/OTP-11771: Emit errors when redefining arity(), bitstring(), iodata(), or boolean()
Diffstat (limited to 'lib/stdlib/src')
-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 10337b279e..269e4b34cf 100644
--- a/lib/stdlib/src/erl_lint.erl
+++ b/lib/stdlib/src/erl_lint.erl
@@ -2790,12 +2790,6 @@ is_default_type({timeout, 0}) -> true;
is_default_type({var, 1}) -> true;
is_default_type(_) -> false.
-%% R13
-is_newly_introduced_builtin_type({arity, 0}) -> true;
-is_newly_introduced_builtin_type({bitstring, 0}) -> true;
-is_newly_introduced_builtin_type({iodata, 0}) -> true;
-%% R13B01
-is_newly_introduced_builtin_type({boolean, 0}) -> true;
is_newly_introduced_builtin_type({Name, _}) when is_atom(Name) -> false.
is_obsolete_builtin_type(TypePair) ->