mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Change all remaining tests that use typealias in a protocol to use associatedtype.
This commit is contained in:
@@ -18,8 +18,8 @@ import Foundation
|
||||
@_silgen_name("random") func random() -> UInt32
|
||||
@_silgen_name("srandomdev") func srandomdev()
|
||||
|
||||
protocol TestableUnicodeCodec : UnicodeCodec {
|
||||
typealias CodeUnit : Integer
|
||||
protocol TestableUnicodeCodec : UnicodeCodecType {
|
||||
associatedtype CodeUnit : Integer
|
||||
static func encodingId() -> NSStringEncoding
|
||||
static func name() -> NSString
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user