diff options
author | Erlang/OTP <[email protected]> | 2010-06-08 10:06:52 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-06-08 10:06:52 +0000 |
commit | 80bcd93f3405be5baa8106250c5bcae6cbbdc3df (patch) | |
tree | 34e8cff9f5252d45543d5c5db3d2afdc9ef30141 /lib/stdlib/src/erl_lint.erl | |
parent | b10f0358c5286300dc9c861c6d45a10222bba3c2 (diff) | |
parent | 5a1b230f3ecb6d8b4f88e6df8fd33e3707f80cd8 (diff) | |
download | otp-80bcd93f3405be5baa8106250c5bcae6cbbdc3df.tar.gz otp-80bcd93f3405be5baa8106250c5bcae6cbbdc3df.tar.bz2 otp-80bcd93f3405be5baa8106250c5bcae6cbbdc3df.zip |
Merge branch 'ks/ets-tid-type' into dev
* ks/ets-tid-type:
Remove tid() from the predefined builtin types.
OTP-8687 ks/ets-tid-type
The predefined builtin type tid() has been removed. Instead, ets:tid()
should be used.
Diffstat (limited to 'lib/stdlib/src/erl_lint.erl')
-rw-r--r-- | lib/stdlib/src/erl_lint.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl index 6bbb52ebae..c8bbb04e9a 100644 --- a/lib/stdlib/src/erl_lint.erl +++ b/lib/stdlib/src/erl_lint.erl @@ -2672,7 +2672,6 @@ default_types() -> {set, 0}, {string, 0}, {term, 0}, - {tid, 0}, {timeout, 0}, {var, 1}], dict:from_list([{T, -1} || T <- DefTypes]). @@ -2694,7 +2693,6 @@ is_newly_introduced_builtin_type({gb_tree, 0}) -> true; % opaque is_newly_introduced_builtin_type({iodata, 0}) -> true; is_newly_introduced_builtin_type({queue, 0}) -> true; % opaque is_newly_introduced_builtin_type({set, 0}) -> true; % opaque -is_newly_introduced_builtin_type({tid, 0}) -> true; % opaque %% R13B01 is_newly_introduced_builtin_type({boolean, 0}) -> true; is_newly_introduced_builtin_type({Name, _}) when is_atom(Name) -> false. |