Merge pull request #501 from faimin/main

Add the missing COLLECTIONS_SINGLE_MODULE when import InternalCollectionsUtils
This commit is contained in:
Karoy Lorentey authored and GitHub committed 2025-08-11 17:29:38 -07:00
commit e7ffe90ae7
8 files changed
+16

No files matched your search

@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
#if false
// FIXME: Bitwise operators disabled for now. I have two concerns:
@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
#if !$Embedded
extension BitArray: Codable {
@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
extension BitArray {
/// Initialize a bit array from a bit set.
@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
extension BitArray {
/// Create and return a new bit array consisting of `count` random bits,
@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
extension BitArray {
@_spi(Testing)
@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
extension BitSet: Sequence {
/// The type representing the bit set's elements.
@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
extension BitSet {
public static func random(upTo limit: Int) -> BitSet {
@@ -9,7 +9,9 @@
//
//===----------------------------------------------------------------------===//
#if !COLLECTIONS_SINGLE_MODULE
import InternalCollectionsUtilities
#endif
extension BitSet {
/// Returns a Boolean value that indicates whether the given element exists