mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Move getReducedShape() from CSSimplify.cpp to a method on TypeBase
This commit is contained in:
@@ -2927,7 +2927,7 @@ namespace {
|
||||
return;
|
||||
|
||||
if (auto archetype = type->getAs<PackArchetypeType>()) {
|
||||
shapeType = archetype->getShape();
|
||||
shapeType = archetype->getReducedShape();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user