mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Clean up a thinko in the original deserialization code by making the TypeDeserializer aware of parameterized existential types. The deserialization code paths are already in place, we're just not calling them! rdar://93062561
12 lines
222 B
Swift
12 lines
222 B
Swift
public protocol MySequence<Element> {
|
|
associatedtype Element
|
|
}
|
|
|
|
public struct MySequenceHolder<Element> {
|
|
public var seq: any MySequence<Element>
|
|
|
|
public init(seq: any MySequence<Element>) {
|
|
self.seq = seq
|
|
}
|
|
}
|