TypeDecoder: Don't demangle freestanding PackExpansionTypes

This commit is contained in:
Slava Pestov
2023-07-05 16:06:56 -04:00
parent fb14aef32a
commit b471cd308f
5 changed files with 2 additions and 28 deletions

View File

@@ -2021,12 +2021,6 @@ public:
return TYPE_LOOKUP_ERROR_FMT("Lowered SILPackType cannot be demangled");
}
TypeLookupErrorOr<BuiltType>
createPackExpansionType(BuiltType patternType, BuiltType countType) const {
// FIXME: Runtime support for variadic generics.
return BuiltType();
}
size_t beginPackExpansion(BuiltType countType) {
if (!countType.isMetadataPack()) {
swift::fatalError(0, "Pack expansion count type should be a pack\n");