mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #26690 from varungandhi-apple/vg-refactor-validateExtension
Avoid setting the extendedType before and after computing the generic signature.
This commit is contained in:
@@ -2871,7 +2871,6 @@ public:
|
||||
|
||||
auto contextID = S.addDeclContextRef(extension->getDeclContext());
|
||||
Type baseTy = extension->getExtendedType();
|
||||
assert(!baseTy->hasUnboundGenericType());
|
||||
assert(!baseTy->hasArchetype());
|
||||
|
||||
// FIXME: Use the canonical type here in order to minimize circularity
|
||||
|
||||
Reference in New Issue
Block a user