Skip to content

Commit bbf8e6c

Browse files
committed
[AST] Allow placeholders in interface types
1 parent 5f07747 commit bbf8e6c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/AST/TypeCheckRequests.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,6 @@ void InterfaceTypeRequest::cacheResult(Type type) const {
957957
auto *decl = std::get<0>(getStorage());
958958
if (type) {
959959
assert(!type->hasTypeVariable() && "Type variable in interface type");
960-
assert(!type->hasPlaceholder() && "Type placeholder in interface type");
961960
assert(!type->is<InOutType>() && "Interface type must be materializable");
962961
assert(!type->hasArchetype() && "Archetype in interface type");
963962
}

0 commit comments

Comments
 (0)