Switch the string literal protocols over to initializer requirements.

Swift SVN r22076
This commit is contained in:
Doug Gregor
2014-09-18 15:48:42 +00:00
parent 13b44b7814
commit 3ebf5cb3da
19 changed files with 235 additions and 217 deletions

View File

@@ -17,6 +17,11 @@ class NonContiguousNSString : NSString {
fatalError("don't call this initializer")
}
override init() {
_value = []
super.init()
}
init(_ value: [UInt16]) {
_value = value
super.init()