Files
swift-mirror/test/Serialization/Inputs/parameterized_protocol_other.swift
Robert Widmann 494e47f240 Teach Type Deserialization About Parameterized Protocol Types
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
2022-05-10 20:33:00 -07:00

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
}
}