Skip to content

Commit ff34491

Browse files
committed
[simd] Work around associated type inference failure
1 parent df08fad commit ff34491

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/SDK/simd/simd.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ extension ${vectype} : ExpressibleByArrayLiteral {
166166
}
167167
168168
extension ${vectype} : Collection {
169+
public typealias Element = ${scalar}
170+
169171
@_transparent
170172
public var startIndex: Int { return 0 }
171173

0 commit comments

Comments
 (0)