mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: Sequence.iterator() => .makeIterator()
This commit is contained in:
@@ -100,7 +100,7 @@ print("testing...")
|
||||
func test() {
|
||||
//===--- Sequences can be converted -------------------------------------===//
|
||||
|
||||
let n0 = ((Tracked(10)..<Tracked(27)).iterator())._copyToNativeArrayBuffer()
|
||||
let n0 = ((Tracked(10)..<Tracked(27)).makeIterator())._copyToNativeArrayBuffer()
|
||||
// CHECK-NEXT: <10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26>
|
||||
printSequence(n0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user