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:
Ted Kremenek
2014-05-14 07:36:00 +00:00
parent 2fe6987c5a
commit 9eea282719
73 changed files with 216 additions and 211 deletions

View File

@@ -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]))
}
}