Skip to content

Commit 78b7b96

Browse files
committed
A few final replacements of typealias with associatedtype.
Mismerge during my last commit made for a couple of leftovers that I didn't discover until now.
1 parent 78216b2 commit 78b7b96

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

validation-test/compiler_crashers/28260-swift-constraints-constraintgraphnode-getmembertype.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Test case found by fuzzing
66

77
protocol A{func<
8-
typealias f:A
8+
associatedtype f:A
99
protocol A{
1010
class a
11-
typealias f:a
11+
associatedtype f:a

validation-test/stdlib/UnicodeUTFEncoders.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Foundation
1818
@_silgen_name("random") func random() -> UInt32
1919
@_silgen_name("srandomdev") func srandomdev()
2020

21-
protocol TestableUnicodeCodec : UnicodeCodecType {
21+
protocol TestableUnicodeCodec : UnicodeCodec {
2222
associatedtype CodeUnit : Integer
2323
static func encodingId() -> NSStringEncoding
2424
static func name() -> NSString

0 commit comments

Comments
 (0)