I'd like to examine the existing conformance of FlattenSequence to Collection. Where would I find it?
Context and Diligence:
I'm working with FlattenSequence. The documentation states that its only protocol conformance is Sequence. I'm trying to extend FlattenSequence to conditionally conform to Collection, but I'm getting an error stating that the Standard Library already conforms it to Collection. The error is as follows:
Conformance of 'FlattenSequence' to protocol 'Collection' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
Obviously, that error differs from the documentation.
When working with an instance of FlattenSequence, code completion reveals methods consistent with the type conforming to FlattenSequence.
I've examined the Flatten.swift source file in the Standard Library, and find no conformance to Collection.
Yes please! Since Apple manages those docs, it's probably best to start with Feedback Assistant rather than bugs.swift.org. (It may turn out to be an indexing bug, but if it's not it would take longer to get to the correct team.)