Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang
2321-beam_call_types-Add-return-type-for-self-0...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2321-beam_call_types-Add-return-type-for-self-0.patch of Package erlang
From ec345ce0aef9b2c3c8c0f5956cd1e02b0f330ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Wed, 14 Dec 2022 05:19:34 +0100 Subject: [PATCH 1/4] beam_call_types: Add return type for self/0 --- lib/compiler/src/beam_call_types.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/compiler/src/beam_call_types.erl b/lib/compiler/src/beam_call_types.erl index ef4d109384..63a9d72d96 100644 --- a/lib/compiler/src/beam_call_types.erl +++ b/lib/compiler/src/beam_call_types.erl @@ -546,6 +546,8 @@ types(erlang, 'node', [_]) -> sub_unsafe(#t_atom{}, [any]); types(erlang, 'node', []) -> sub_unsafe(#t_atom{}, []); +types(erlang, self, []) -> + sub_unsafe(pid, []); types(erlang, 'size', [_]) -> ArgType = beam_types:join(#t_tuple{}, #t_bitstring{}), sub_unsafe(#t_integer{}, [ArgType]); -- 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