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 7adfd86 commit fb5d180Copy full SHA for fb5d180
lib/AST/RequirementMachine/Symbol.cpp
@@ -87,6 +87,7 @@ struct Symbol::Storage final
87
Storage(Symbol::Kind kind, CanType type, ArrayRef<Term> substitutions) {
88
assert(kind == Symbol::Kind::Superclass ||
89
kind == Symbol::Kind::ConcreteType);
90
+ assert(!type->hasTypeVariable());
91
assert(type->hasTypeParameter() != substitutions.empty());
92
93
Kind = unsigned(kind);
0 commit comments