mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "stdlib: make map() dynamically dispatched"
This reverts commit r27607. It broke parse_stdlib_* tests. Swift SVN r27609
This commit is contained in:
@@ -1558,7 +1558,7 @@ struct ${CollectionType} : RangeReplaceableCollectionType {
|
||||
}
|
||||
|
||||
subscript(i: MinimalForwardIndex) -> OpaqueValue<Int> {
|
||||
return elements[i.position]
|
||||
return OpaqueValue(i.position + 1)
|
||||
}
|
||||
|
||||
mutating func reserveCapacity(n: Int) {
|
||||
|
||||
Reference in New Issue
Block a user