[swift-evolution] Change in String.CharacterView.Index?
joe at iachieved.it
Sun May 8 12:58:39 CDT 2016
I've been building the latest Swift 3.0 and noticed that between Apr 25 and
today that String.CharacterView.Index.advance(by:) is no longer available.
This runs with an Apr 25 build (Swift 255544591c to be exact)
let string:String = "Hello, world!"
It fails with a build today (May 8, Swift 26fcf1ab4a):
test.swift:3:14: error: value of type 'Index' (aka
'String.CharacterView.Index') has no member 'advanced'
I don't know who runs swiftdoc.org but it is handy, and shows advanced(by:)
a valid method:
Not sure what I'm missing here!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution