Skip to content

Commit c3a7d98

Browse files
committed
Sema: Remove a usage of hasComputedGenericSignature() from associated type inference
1 parent ccfea08 commit c3a7d98

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/Sema/TypeCheckProtocolInference.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,6 @@ AssociatedTypeInference::inferTypeWitnessesViaValueWitnesses(
213213
// declared on, it is viable for inference when its conditional
214214
// requirements are satisfied by those of the conformance context.
215215
if (!proto) {
216-
// FIXME: The extension may not have a generic signature set up yet as
217-
// resolving signatures may trigger associated type inference. This cycle
218-
// is now detectable and we should look into untangling it
219-
// - see rdar://55263708
220-
if (!extension->hasComputedGenericSignature())
221-
return true;
222-
223216
// Retrieve the generic signature of the extension.
224217
const auto extensionSig = extension->getGenericSignature();
225218

0 commit comments

Comments
 (0)