File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -219,10 +219,11 @@ bool BindingSet::involvesTypeVariables() const {
219219 TypeVar->getImpl ().canBindToPack ())
220220 return true ;
221221
222- // This is effectively O(1) right now since bindings are re-computed
223- // on each step of the solver, but once bindings are computed
224- // incrementally it becomes more important to double-check that
225- // any adjacent type variables found previously are still unresolved.
222+ // This is effectively a no-op right now since bindings are re-computed
223+ // on each step of the solver and fixed types won't appear in AdjancentVars,
224+ // but once bindings are computed incrementally it becomes important
225+ // to double-check that any adjacent type variables found previously are
226+ // still unresolved.
226227 return llvm::any_of (AdjacentVars, [](TypeVariableType *typeVar) {
227228 return !typeVar->getImpl ().getFixedType (/* record=*/ nullptr );
228229 });
You can’t perform that action at this time.
0 commit comments