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 2ebade1 commit 8a39f3fCopy full SHA for 8a39f3f
lib/Sema/CSBindings.cpp
@@ -148,6 +148,11 @@ bool BindingSet::isDelayed() const {
148
}
149
150
bool BindingSet::involvesTypeVariables() const {
151
+ // This type variable always depends on a pack expansion variable
152
+ // which should be inferred first if possible.
153
+ if (TypeVar->getImpl().canBindToPack())
154
+ return true;
155
+
156
// This is effectively O(1) right now since bindings are re-computed
157
// on each step of the solver, but once bindings are computed
158
// incrementally it becomes more important to double-check that
0 commit comments