Avatar
Avatar
omochimetaru
@swift-main -Xfrontend -enable-experimental-named-opaque-types -Xfrontend -enable-parameterized-existential-types protocol P<A> { associatedtype A } protocol Q {} struct S<A>: P {} struct K: Q {} func makePair() -> <T0: Q, T1: Q> (S<T0>, S<T1>) { (S<K>(), S<K>()) } func usePair<T: Q>(_ pair: (S<T>, S<T>)) {} func main() { let pair = makePair() usePair(pair) }
swiftNightly BOT 5/30/2022 4:43 AM
exit status: 1 with stderr:<unknown>:0: error: unknown argument: '-enable-parameterized-existential-types'