mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This implements a structural walk over the TypeRepr to catch situations where we attempt to infer `A` from `func f(_: A)`, which references the concrete `A` that will be synthesized in the conforming type. Fixes: - rdar://34956654 / https://github.com/apple/swift/issues/48680 - rdar://38913692 / https://github.com/apple/swift/issues/49066 - rdar://56672411 - https://github.com/apple/swift/issues/50010 - rdar://81587765 / https://github.com/apple/swift/issues/57355 - rdar://117442510
408 B
408 B