mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The signatures have changed here either due to code changes in the repo or due to improvements to the signature detection, update the test cases.
8 lines
400 B
Swift
8 lines
400 B
Swift
// {"kind":"typecheck","signature":"swift::ProtocolConformanceRef::getTypeWitness(swift::AssociatedTypeDecl*, swift::SubstOptions) const"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a: Collection where Iterator == Self
|
|
struct b<c: a>: IteratorProtocol {next -> c.Element? struct c: a {
|
|
struct Element
|
|
subscript(Int) Element
|
|
func makeIterator -> b<Self>
|