We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba924ed commit e01822cCopy full SHA for e01822c
validation-test/compiler_crashers_2_fixed/rdar108319167.swift
@@ -0,0 +1,18 @@
1
+// RUN: %target-swift-frontend -emit-ir %s
2
+
3
+public protocol P {}
4
5
+public protocol Q {
6
+ associatedtype A: P
7
+}
8
9
+public func f<T: P>(_: T) {}
10
11
+public func foo1<each T: Q, each U>(t: repeat each T, u: repeat each U)
12
+ where repeat (each U) == (each T).A {
13
+ repeat f(each u)
14
15
16
+public func foo2<each T: Q>(t: repeat each T, u: repeat each T.A) {
17
18
0 commit comments