Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
0184-beam_ssa_pp-Fix-pretty-printing-of-the-por...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0184-beam_ssa_pp-Fix-pretty-printing-of-the-port-type.patch of Package erlang
From a0f982927bfc680c49c3ebbde4af0c3dd4168597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Tue, 12 Mar 2024 07:05:58 +0100 Subject: [PATCH 1/3] beam_ssa_pp: Fix pretty-printing of the port type While at it, also remove unused clause for pretty-printing the old representation of the number type. --- lib/compiler/src/beam_ssa_pp.erl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/compiler/src/beam_ssa_pp.erl b/lib/compiler/src/beam_ssa_pp.erl index a1d4c4c265..0616bbf8d9 100644 --- a/lib/compiler/src/beam_ssa_pp.erl +++ b/lib/compiler/src/beam_ssa_pp.erl @@ -338,8 +338,6 @@ format_type(#t_map{super_key=none,super_value=none}) -> "#{}"; format_type(#t_map{super_key=K,super_value=V}) -> ["#{", format_type(K), "=>", format_type(V), "}"]; -format_type(number) -> - "number()"; format_type(#t_float{elements=any}) -> "float()"; format_type(#t_float{elements={X,X}}) -> @@ -377,7 +375,7 @@ format_type(other) -> format_type(pid) -> "pid()"; format_type(port) -> - "pid()"; + "port()"; format_type(reference) -> "reference()"; format_type(identifier) -> -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor