mirror of
https://github.com/apple/swift-collections
synced 2026-11-29 05:14:20 +00:00
Resolve access issues & missing imports
This commit is contained in:
4 files changed
+6
-3
No files matched your search
@@ -12,6 +12,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if !COLLECTIONS_SINGLE_MODULE
|
||||
import InternalCollectionsUtilities
|
||||
import ContainersPreview
|
||||
#endif
|
||||
|
||||
|
||||
@@ -38,11 +38,11 @@ extension Span where Element: ~Copyable {
|
||||
public typealias Element_ = Element
|
||||
|
||||
@usableFromInline
|
||||
internal var _span: Span<Element_>
|
||||
package var _span: Span<Element_>
|
||||
@usableFromInline
|
||||
internal var _start: Int
|
||||
package var _start: Int
|
||||
@usableFromInline
|
||||
internal var _count: Int
|
||||
package var _count: Int
|
||||
|
||||
@_lifetime(copy elements)
|
||||
public init(_ elements: Span<Element_>) {
|
||||
|
||||
@@ -15,6 +15,7 @@ import XCTest
|
||||
#if COLLECTIONS_SINGLE_MODULE
|
||||
import Collections
|
||||
#else
|
||||
import InternalCollectionsUtilities
|
||||
import _CollectionsTestSupport
|
||||
import ContainersPreview
|
||||
#endif
|
||||
|
||||
@@ -16,6 +16,7 @@ import XCTest
|
||||
#if COLLECTIONS_SINGLE_MODULE
|
||||
import Collections
|
||||
#else
|
||||
import InternalCollectionsUtilities
|
||||
import _CollectionsTestSupport
|
||||
import ContainersPreview
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user