Fix typos spotted by code review, thank you!

This commit is contained in:
Doug Gregor
2024-03-22 08:28:45 -07:00
parent 11774e5d17
commit af38d88ba3
2 changed files with 12 additions and 12 deletions

View File

@@ -1729,7 +1729,7 @@ checkSuppressibleRequirementsStructural(const Metadata *type,
auto missing = suppressed - ignored;
if (!missing.empty()) {
return TYPE_LOOKUP_ERROR_FMT(
"existential type missing suppresible protocols %x",
"existential type missing suppressible protocols %x",
missing.rawBits());
}
}
@@ -1771,7 +1771,7 @@ checkSuppressibleRequirements(const Metadata *type,
// If this type has suppressed conformances, but we can't find them...
// bail out.
auto suppressedProtocols = contextDescriptor->getSuppresssedProtocols();
auto suppressedProtocols = contextDescriptor->getSuppressedProtocols();
if (!suppressedProtocols) {
return TYPE_LOOKUP_ERROR_FMT("unable to find suppressed protocols");
}