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 3bd5687 commit 9835a6fCopy full SHA for 9835a6f
lib/AST/ConformanceLookup.cpp
@@ -728,6 +728,8 @@ LookupConformanceInModuleRequest::evaluate(
728
ProtocolConformanceRef
729
ModuleDecl::checkConformance(Type type, ProtocolDecl *proto,
730
bool allowMissing) {
731
+ assert(!type->hasTypeParameter());
732
+
733
auto lookupResult = lookupConformance(type, proto, allowMissing);
734
if (lookupResult.isInvalid()) {
735
return ProtocolConformanceRef::forInvalid();
0 commit comments