Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
6341-empty-containers-more-precise-specs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6341-empty-containers-more-precise-specs.patch of Package erlang
From 98459c71dbe642e0d492e1d00286b6ae9f290599 Mon Sep 17 00:00:00 2001 From: Ilya Klyuchnikov <ilya.klyuchnikov@gmail.com> Date: Wed, 2 Nov 2022 21:55:46 +0000 Subject: [PATCH] empty containers: more precise specs --- lib/stdlib/src/gb_sets.erl | 4 ++-- lib/stdlib/src/gb_trees.erl | 2 +- lib/stdlib/src/orddict.erl | 2 +- lib/stdlib/src/queue.erl | 2 +- lib/stdlib/src/sets.erl | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/stdlib/src/sets.erl b/lib/stdlib/src/sets.erl index bdc0ed40f3..886ad90e1e 100644 --- a/lib/stdlib/src/sets.erl +++ b/lib/stdlib/src/sets.erl @@ -94,7 +94,7 @@ Empty = mk_seg(?seg_size), #set{empty = Empty, segs = {Empty}}. --spec new([{version, 1..2}]) -> set(). +-spec new([{version, 1..2}]) -> set(none()). new([{version, 2}]) -> #{}; new(Opts) -> -- 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