[swift-corelibs-dev] NSString.range(of:options:range:locale) incompatibility

2017-08-09 Thread Ian Partridge via swift-corelibs-dev
I've noticed this current difference in behaviour. Darwin: $ swift Welcome to Apple Swift version 4.0-dev (LLVM 2dedb62a0b, Clang b9d76a314c, Swift 6b4756bd93). Type :help for assistance. 1> import Foundation 2> "abc".range(of: "a")!.lowerBound..<"abc".range(of: "a")!.upperBound $R0: Range =

Re: [swift-corelibs-dev] NSString.range(of:options:range:locale) incompatibility

2017-08-09 Thread Tony Parker via swift-corelibs-dev
Hi Ian, I don’t think Max has put up that PR against the swift-corelibs-foundation implementation, but we should. - Tony > On Aug 9, 2017, at 9:04 AM, Ian Partridge via swift-corelibs-dev > wrote: > > I've noticed this current difference in behaviour. > > Darwin: > > $ swift > Welcome to A