Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0918-Correct-spec-for-erl_compile-compile-2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0918-Correct-spec-for-erl_compile-compile-2.patch of Package erlang
From 2cde4007eb6fc42bb9635cf95f2e56985bfcd71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Mon, 28 Feb 2022 09:23:03 +0100 Subject: [PATCH 1/2] Correct spec for erl_compile:compile/2 --- lib/stdlib/src/erl_compile.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/stdlib/src/erl_compile.erl b/lib/stdlib/src/erl_compile.erl index 9701f77292..063d3e700d 100644 --- a/lib/stdlib/src/erl_compile.erl +++ b/lib/stdlib/src/erl_compile.erl @@ -55,7 +55,8 @@ compile_cmdline() -> compile_cmdline1(List). %% Run a compilation. Meant to be used by the compilation server. --spec compile(list(), file:filename()) -> 'ok' | {'error', binary()}. +-spec compile(list(), file:filename()) -> + 'ok' | {'error', binary()} | {'crash', {atom(), term(), term()}}. compile(Args, Cwd) -> try compile1(Args, #options{outdir=Cwd,cwd=Cwd}) of ok -> -- 2.34.1
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