diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/test/pdict_SUITE.erl | 6 | ||||
-rw-r--r-- | lib/stdlib/src/erl_internal.erl | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/kernel/test/pdict_SUITE.erl b/lib/kernel/test/pdict_SUITE.erl index a70e9b4704..4b60beb9dc 100644 --- a/lib/kernel/test/pdict_SUITE.erl +++ b/lib/kernel/test/pdict_SUITE.erl @@ -118,7 +118,7 @@ complicated(Config) when is_list(Config) -> ok = match_keys(get()), comp_4(get()), [] = get(), - [] = erlang:get_keys(), + [] = get_keys(), [put(Key, Value) || {Key,Value} <- Previous], ok. @@ -167,8 +167,8 @@ heavy(Config) when is_list(Config) -> simple_all_keys(Config) when is_list(Config) -> erase(), ok = simple_all_keys_add_loop(1000), - [] = erlang:get_keys(), - [] = erlang:get(), + [] = get_keys(), + [] = get(), ok. simple_all_keys_add_loop(0) -> diff --git a/lib/stdlib/src/erl_internal.erl b/lib/stdlib/src/erl_internal.erl index e523b6b476..2bf8b86c23 100644 --- a/lib/stdlib/src/erl_internal.erl +++ b/lib/stdlib/src/erl_internal.erl @@ -295,6 +295,7 @@ bif(garbage_collect, 1) -> true; bif(garbage_collect, 2) -> true; bif(get, 0) -> true; bif(get, 1) -> true; +bif(get_keys, 0) -> true; bif(get_keys, 1) -> true; bif(group_leader, 0) -> true; bif(group_leader, 2) -> true; |