mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Validating a declaration can trigger conformance checking. If the conformance checker comes across the same declaration as a candidate witness, it would fail to emit a diagnostic. As a result we would then go onto SILGen, which would crash while emitting a witness table with a missing entry. Fixes <rdar://problem/45151902>.