mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Make corelibs-foundation build
Expose the old SPIs again so corelibs-foundation can build. We'll want to wean them off of these and establish proper APIs soon.
This commit is contained in:
@@ -497,7 +497,7 @@ extension String.UTF16View {
|
||||
|
||||
return _guts.withFastUTF8 { utf8 in
|
||||
var readIdx = crumb.encodedOffset
|
||||
var readEnd = utf8.count
|
||||
let readEnd = utf8.count
|
||||
_sanityCheck(readIdx < readEnd)
|
||||
|
||||
var utf16I = 0
|
||||
|
||||
Reference in New Issue
Block a user