Skip to content

Commit ce826c2

Browse files
committed
Revert "[CSBindings] Mark type variables that represent packs as involving type variables"
This reverts commit 8a39f3f.
1 parent 5b5b3dd commit ce826c2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/Sema/CSBindings.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,6 @@ bool BindingSet::isDelayed() const {
148148
}
149149

150150
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-
156151
// This is effectively O(1) right now since bindings are re-computed
157152
// on each step of the solver, but once bindings are computed
158153
// incrementally it becomes more important to double-check that

0 commit comments

Comments
 (0)