We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c30a2 commit 32a0ea8Copy full SHA for 32a0ea8
lib/AST/ConformanceLookup.cpp
@@ -565,13 +565,16 @@ LookupConformanceInModuleRequest::evaluate(
565
#ifndef NDEBUG
566
// Ensure we haven't missed queries for the specialty SIL types
567
// in the AST in conformance to one of the invertible protocols.
568
- if (auto kp = protocol->getKnownProtocolKind())
569
- if (getInvertibleProtocolKind(*kp))
+ if (auto kp = protocol->getKnownProtocolKind()) {
+ if (getInvertibleProtocolKind(*kp)) {
570
assert(!(type->is<SILFunctionType,
571
SILBoxType,
572
SILMoveOnlyWrappedType,
573
SILPackType,
574
SILTokenType>()));
575
+ assert(!type->is<ReferenceStorageType>());
576
+ }
577
578
#endif
579
580
auto nominal = type->getAnyNominal();
0 commit comments