File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,9 @@ public typealias UTF16Char = Char // UInt16
3232public typealias UTF32Char = UInt32
3333#if !COCOA && !ISLAND
3434public typealias AnsiChar = Byte
35- public typealias UTF8Char = Byte
36- #else
3735// Cocoa and Island already have AnsiChar
38- public typealias UTF8Char = AnsiChar
3936#endif
37+ public typealias UTF8Char = Byte
4038
4139public typealias StaticString = NativeString
4240
Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ public struct Array<T>
336336
337337 public subscript ( range: Range ) -> [ T ] {
338338 #if COCOA
339- return [ T] ( list. Skip ( range. lowerBound) . Take ( range. length) . array ( ) )
339+ return [ T] ( list. Skip ( range. lowerBound) . Take ( range. length) . ToNSArray ( ) )
340340 #else
341341 return [ T] ( list. Skip ( range. lowerBound) . Take ( range. length) . ToList ( ) )
342342 #endif
You can’t perform that action at this time.
0 commit comments