We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb308c commit ad54b2aCopy full SHA for ad54b2a
DarwinCompatibilityTests/DarwinShims.swift
@@ -19,9 +19,7 @@ import Foundation
19
20
public typealias unichar = UInt16
21
22
-extension unichar : ExpressibleByUnicodeScalarLiteral {
23
- public typealias UnicodeScalarLiteralType = UnicodeScalar
24
-
+extension unichar {
25
public init(unicodeScalarLiteral scalar: UnicodeScalar) {
26
self.init(scalar.value)
27
}
Foundation/NSString.swift
@@ -12,9 +12,7 @@ import CoreFoundation
12
13
14
15
16
17
18
0 commit comments