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 b31b90d commit 078be85Copy full SHA for 078be85
test/Constraints/variadic_generic_types.swift
@@ -68,13 +68,19 @@ do {
68
}
69
70
// https://github.com/apple/swift/issues/68160
71
+// https://github.com/apple/swift/issues/69390
72
do {
73
struct G<each T, U> {
74
let f: (repeat Optional<each T>) -> U
75
+ var f2: (repeat each T) -> Void
76
77
init(f: @escaping (repeat Optional<each T>) -> U) {
78
self.f = f
79
80
+
81
+ func foo() {
82
+ let _: (repeat each T) -> Void = f2
83
+ }
84
85
86
0 commit comments