File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,6 @@ class ConstraintGraphNode {
153
153
// / type variable has been bound to a valid type and solver can make progress.
154
154
void introduceToInference (Type fixedType);
155
155
156
- // / Drop all previously collected bindings and re-infer based on the
157
- // / current set constraints associated with this equivalence class.
158
- void resetBindingSet ();
159
-
160
156
// / Notify all of the type variables that have this one (or any member of
161
157
// / its equivalence class) referenced in their fixed type.
162
158
// /
Original file line number Diff line number Diff line change @@ -376,18 +376,6 @@ void ConstraintGraphNode::introduceToInference(Type fixedType) {
376
376
}
377
377
}
378
378
379
- void ConstraintGraphNode::resetBindingSet () {
380
- assert (forRepresentativeVar ());
381
-
382
- Bindings.reset ();
383
-
384
- auto &bindings = getCurrentBindings ();
385
- for (auto *constraint : CG.gatherConstraints (
386
- TypeVar, ConstraintGraph::GatheringKind::EquivalenceClass)) {
387
- bindings.infer (constraint);
388
- }
389
- }
390
-
391
379
#pragma mark Graph mutation
392
380
393
381
void ConstraintGraph::removeNode (TypeVariableType *typeVar) {
You can’t perform that action at this time.
0 commit comments