Commit Graph

10 Commits

Author SHA1 Message Date
Ben Cohen
946b776e37 [stdlib] One-sided ranges and RangeExpression (#8710)
* One-sided ranges and RangeExpression

* Remove redundant ClosedRange methods from String

* Fix up brittle tests

* Account for Substring update

* XFAIL range diagnostics on Linux
2017-04-28 12:59:04 -07:00
Max Moiseev
f741caf04e hasSuffix and hasPrefix are not available on Linux 2017-04-26 16:15:20 -06:00
Max Moiseev
e1f502f6cd Swift 3 compatible String and Substring range subscripts 2017-04-26 12:13:43 -07:00
Max Moiseev
8e55b1dd8a Adding ExpressibleBy protocol conformances to Substring 2017-04-25 15:03:26 -07:00
Max Moiseev
79f4c9c80e Making one of Substring initializers public 2017-04-25 15:02:02 -07:00
Max Moiseev
7e8f8681bf Unavailable String returning subscripts 2017-04-25 15:00:15 -07:00
Max Moiseev
2216a6360e CustomDebugStringConvertible and var characters 2017-04-25 14:59:20 -07:00
Max Moiseev
161ef05de7 Adding TextOutputStream and TextOutputStreamable conformances 2017-04-25 14:58:51 -07:00
Max Moiseev
f19b9db421 Reimplementing Substring using the RangeReplaceableBidirectionalSlice 2017-04-25 14:58:25 -07:00
Max Moiseev
b1898ab768 Porting String APIs to Subtring and fixing some tests 2017-04-25 14:58:06 -07:00