diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-03-16 23:19:19 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-03-16 23:19:19 +0100 |
commit | e6ff6cce0dba69ed495f098921d8ed6115007816 (patch) | |
tree | 6b8f286f231b27956daf5253d15327c3d07f2e49 /erts/preloaded/src/erlang.erl | |
parent | 237264bc018b0cc17afeac5d3f6030073f314f9d (diff) | |
download | otp-e6ff6cce0dba69ed495f098921d8ed6115007816.tar.gz otp-e6ff6cce0dba69ed495f098921d8ed6115007816.tar.bz2 otp-e6ff6cce0dba69ed495f098921d8ed6115007816.zip |
erts: Fix is_map/1 spec
Diffstat (limited to 'erts/preloaded/src/erlang.erl')
-rw-r--r-- | erts/preloaded/src/erlang.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/preloaded/src/erlang.erl b/erts/preloaded/src/erlang.erl index fbc37bd955..cabbbd191f 100644 --- a/erts/preloaded/src/erlang.erl +++ b/erts/preloaded/src/erlang.erl @@ -1745,9 +1745,9 @@ is_pid(_Term) -> erlang:nif_error(undefined). %% Shadowed by erl_bif_types: erlang:is_map/1 --spec is_map(Map) -> boolean() when - Map :: map(). -is_map(_Map) -> +-spec is_map(Term) -> boolean() when + Term :: term(). +is_map(_Term) -> erlang:nif_error(undefined). %% Shadowed by erl_bif_types: erlang:is_port/1 |