RopeModule→_RopeModule. Stop reexporting it from Collections.

This module is not source stable; mark it as such by prepending
the module name with an underscore.
This commit is contained in:
Karoy Lorentey committed 2023-03-20 16:47:56 -07:00
1 parent 79f1e16afd
commit 09577a31ee
6 files changed
+10 -11

No files matched your search

+5 -4
View File
@@ -163,15 +163,16 @@ registerLibrary(
swiftSettings: _settings)
)
registerUnstableLibrary(
"RopeModule",
registerLibrary(
"_RopeModule",
.target(
name: "RopeModule",
name: "_RopeModule",
dependencies: ["_CollectionsUtilities"],
path: "Sources/RopeModule",
swiftSettings: _settings),
.testTarget(
name: "RopeModuleTests",
dependencies: ["RopeModule", "_CollectionsTestSupport"],
dependencies: ["_RopeModule", "_CollectionsTestSupport"],
swiftSettings: _settings)
)
+1 -3
View File
@@ -15,6 +15,4 @@
@_exported import HeapModule
@_exported import OrderedCollections
#if COLLECTIONS_ENABLE_UNSTABLE_MODULES
@_exported import RopeModule
#endif
//@_exported import _RopeModule
+1 -1
View File
@@ -10,7 +10,7 @@
//===----------------------------------------------------------------------===//
#if swift(>=5.8) && DEBUG
@testable import RopeModule
@testable import _RopeModule
import XCTest
@available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *)
+1 -1
View File
@@ -12,7 +12,7 @@
#if swift(>=5.8) && DEBUG
import _CollectionsTestSupport
import XCTest
@testable import RopeModule
@testable import _RopeModule
@available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *)
class TestBString2: CollectionTestCase {
+1 -1
View File
@@ -10,7 +10,7 @@
//===----------------------------------------------------------------------===//
#if swift(>=5.8)
import RopeModule
import _RopeModule
import XCTest
@available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *)
+1 -1
View File
@@ -10,7 +10,7 @@
//===----------------------------------------------------------------------===//
#if DEBUG
@testable import RopeModule
@testable import _RopeModule
import XCTest
struct Chunk: _RopeElement, Equatable, CustomStringConvertible {