Revert "stdlib: make map() dynamically dispatched"

This reverts commit r27607.  It broke parse_stdlib_* tests.

Swift SVN r27609
This commit is contained in:
Dmitri Hrybenko
2015-04-22 22:30:45 +00:00
parent 212c6e3be2
commit 730e6afee0
4 changed files with 18 additions and 44 deletions

View File

@@ -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) {