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 {
153153 // / type variable has been bound to a valid type and solver can make progress.
154154 void introduceToInference (Type fixedType);
155155
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-
160156 // / Notify all of the type variables that have this one (or any member of
161157 // / its equivalence class) referenced in their fixed type.
162158 // /
Original file line number Diff line number Diff line change @@ -376,18 +376,6 @@ void ConstraintGraphNode::introduceToInference(Type fixedType) {
376376 }
377377}
378378
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-
391379#pragma mark Graph mutation
392380
393381void ConstraintGraph::removeNode (TypeVariableType *typeVar) {
You can’t perform that action at this time.
0 commit comments