Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
5715-common_test-fixes-return-type-of-init-1-fn...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 5715-common_test-fixes-return-type-of-init-1-fn.patch of Package erlang
From da03f10a298cd7f837253a675235163a453f5902 Mon Sep 17 00:00:00 2001 From: Kiko Fernandez-Reyes <kiko@erlang.org> Date: Fri, 17 Feb 2023 11:33:48 +0100 Subject: [PATCH 5/5] common_test: fixes return type of init/1 fn the singleton variable `Reason` is unbound, and this commit binds the `Reason` variable to `term()`. --- lib/common_test/src/ct_release_test.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common_test/src/ct_release_test.erl b/lib/common_test/src/ct_release_test.erl index da556e1481..075634988a 100644 --- a/lib/common_test/src/ct_release_test.erl +++ b/lib/common_test/src/ct_release_test.erl @@ -142,7 +142,7 @@ -spec init(Config) -> Result when Config :: config(), Result :: config() | SkipOrFail, - SkipOrFail :: {skip,Reason} | {fail,Reason}. + SkipOrFail :: {skip,Reason::term()} | {fail,Reason :: term()}. %% Initialize ct_release_test. %% %% This function can be called from any of the -- 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