File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -580,9 +580,9 @@ extension ExpressibleByStringLiteral
580
580
/// }
581
581
public protocol ExpressibleByArrayLiteral {
582
582
/// The type of the elements of an array literal.
583
- associatedtype Element
583
+ associatedtype ArrayLiteralElement
584
584
/// Creates an instance initialized with the given elements.
585
- init ( arrayLiteral elements: Element ... )
585
+ init ( arrayLiteral elements: ArrayLiteralElement ... )
586
586
}
587
587
588
588
/// A type that can be initialized using a dictionary literal.
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ extension ExpressibleByArrayLiteral {
111
111
}
112
112
113
113
// CHECK-DAG: OtherFileElementType
114
- extension ExpressibleByArrayLiteral where Element == OtherFileElementType {
114
+ extension ExpressibleByArrayLiteral where ArrayLiteralElement == OtherFileElementType {
115
115
func useless2( ) { }
116
116
}
117
117
You can’t perform that action at this time.
0 commit comments