diff options
author | Aleksei Magusev <lexmag@me.com> | 2016-09-28 12:49:49 +0200 |
---|---|---|
committer | Aleksei Magusev <lexmag@me.com> | 2016-09-28 12:49:49 +0200 |
commit | 4e681d5fcb3616f26451dd9f2bb49dacc483e7ff (patch) | |
tree | f1e915a44acd58a671f60064322ebd1ebc3fbc35 | |
parent | d6ff784f7f921b56833b5dbd035a6a9b377545ee (diff) | |
download | elixir-4e681d5fcb3616f26451dd9f2bb49dacc483e7ff.tar.gz |
Consider is_map/1 calls in returns_boolean/1 check
-rw-r--r-- | lib/elixir/src/elixir_utils.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/src/elixir_utils.erl b/lib/elixir/src/elixir_utils.erl index a93cde517..3bb556d87 100644 --- a/lib/elixir/src/elixir_utils.erl +++ b/lib/elixir/src/elixir_utils.erl @@ -207,7 +207,7 @@ returns_boolean({{'.', _, [erlang, Fun]}, _, [_]}) when Fun == is_atom; Fun == is_binary; Fun == is_bitstring; Fun == is_boolean; Fun == is_float; Fun == is_function; Fun == is_integer; Fun == is_list; Fun == is_number; Fun == is_pid; Fun == is_port; Fun == is_reference; - Fun == is_tuple -> true; + Fun == is_tuple; Fun == is_map -> true; returns_boolean({{'.', _, [erlang, Fun]}, _, [_, _]}) when Fun == is_function -> true; |