File 2050-erl_bif-Mark-is_map-1-as-safe.patch of Package erlang
From aa5858203fedf89b97197cbaaf009ddcdbb5f641 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Tue, 8 Jan 2019 09:45:09 +0100
Subject: [PATCH 1/5] erl_bif: Mark is_map/1 as safe
---
lib/compiler/src/erl_bifs.erl | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/compiler/src/erl_bifs.erl b/lib/compiler/src/erl_bifs.erl
index ce9762899e..d925decce6 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -195,6 +195,7 @@ is_safe(erlang, is_float, 1) -> true;
is_safe(erlang, is_function, 1) -> true;
is_safe(erlang, is_integer, 1) -> true;
is_safe(erlang, is_list, 1) -> true;
+is_safe(erlang, is_map, 1) -> true;
is_safe(erlang, is_number, 1) -> true;
is_safe(erlang, is_pid, 1) -> true;
is_safe(erlang, is_port, 1) -> true;
--
2.16.4