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 5f07747 commit bbf8e6cCopy full SHA for bbf8e6c
lib/AST/TypeCheckRequests.cpp
@@ -957,7 +957,6 @@ void InterfaceTypeRequest::cacheResult(Type type) const {
957
auto *decl = std::get<0>(getStorage());
958
if (type) {
959
assert(!type->hasTypeVariable() && "Type variable in interface type");
960
- assert(!type->hasPlaceholder() && "Type placeholder in interface type");
961
assert(!type->is<InOutType>() && "Interface type must be materializable");
962
assert(!type->hasArchetype() && "Archetype in interface type");
963
}
0 commit comments