File 3477-etp.py-Print-map-terms-in-a-clearer-way.patch of Package erlang

From 85ff0effa5b0f6d74932079fe871fd99f912d7a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Mon, 12 Apr 2021 06:19:16 +0200
Subject: [PATCH 6/7] etp.py: Print map terms in a clearer way

---
 erts/etc/unix/etp.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/erts/etc/unix/etp.py b/erts/etc/unix/etp.py
index 0eac75a5bb..e9a8b25aee 100644
--- a/erts/etc/unix/etp.py
+++ b/erts/etc/unix/etp.py
@@ -394,9 +394,9 @@ def boxed(valobj, depth = float('inf')):
         return F"{{{res}}}"
     if boxed_hdr & 0x3c == 0x3c:
         if boxed_hdr & 0xc0 == 0x0:
-            return "flat_map"
+            return "#FlatMap"
         else:
-            return "hash_map"
+            return "#HashMap"
     boxed_type = (boxed_hdr >> 2) & 0xF
     if boxed_type == 0xC:
         return '#ExternalPid'
-- 
2.26.2

openSUSE Build Service is sponsored by