mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Switch range operators ".." and "...".
- 1..3 now means 1,2 - 1...3 now means 1,2,3 Implements <rdar://problem/16839891> Swift SVN r18066
This commit is contained in:
@@ -57,7 +57,7 @@ class NSSwiftArray : HeapBufferStorageBase, CocoaArray {
|
||||
count: range.length)
|
||||
}
|
||||
|
||||
for i in range.location...range.location + range.length {
|
||||
for i in range.location..range.location + range.length {
|
||||
dst++.initialize(reinterpretCast(buffer[i]))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user