mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Use associated objects to attach contiguous array buffers to lazy one…"
This reverts commit 7c011813f2.
This commit is contained in:
@@ -51,16 +51,12 @@ internal struct _CocoaArrayWrapper: RandomAccessCollection {
|
||||
|
||||
@usableFromInline
|
||||
internal var endIndex: Int {
|
||||
@_effects(releasenone) get {
|
||||
core.count
|
||||
}
|
||||
return core.count
|
||||
}
|
||||
|
||||
@usableFromInline
|
||||
internal subscript(i: Int) -> AnyObject {
|
||||
@_effects(releasenone) get {
|
||||
core.objectAt(i)
|
||||
}
|
||||
return core.objectAt(i)
|
||||
}
|
||||
|
||||
@usableFromInline
|
||||
|
||||
Reference in New Issue
Block a user