Change all remaining tests that use typealias in a protocol to use associatedtype.

This commit is contained in:
gregomni
2016-03-09 13:00:40 -08:00
parent 6ed4eba9c2
commit 78216b2990
94 changed files with 170 additions and 166 deletions

View File

@@ -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
}