File 6883-compiler-Remove-beam_disasm-asm_form-from-allowed-fo.patch of Package erlang

From b324095fc2c3a840ec1aa49f08abcbed081dd57e Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Tue, 10 Oct 2023 11:58:44 +0200
Subject: [PATCH 3/3] compiler: Remove beam_disasm:asm_form from allowed form
 types

---
 lib/compiler/src/compile.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl
index 49856b448f..b9247046e9 100644
--- a/lib/compiler/src/compile.erl
+++ b/lib/compiler/src/compile.erl
@@ -49,7 +49,7 @@
 
 -type abstract_code() :: [erl_parse:abstract_form()].
 
--type forms() :: abstract_code() | cerl:c_module() | beam_disasm:asm_form().
+-type forms() :: abstract_code() | cerl:c_module().
 
 -type option() :: atom() | {atom(), term()} | {'d', atom(), term()}.
 
-- 
2.35.3

openSUSE Build Service is sponsored by