Sema: Remove SolverTrail::Change::introducedToInference()

This commit is contained in:
Slava Pestov
2024-09-30 18:12:05 -04:00
parent c46ee87408
commit 186589bd25
5 changed files with 0 additions and 75 deletions

View File

@@ -239,11 +239,6 @@ void ConstraintSystem::assignFixedType(TypeVariableType *typeVar, Type type,
}
}
// FIXME: This is totally the wrong place to do it. We should do this in
// introduceToInference().
if (isRecordingChanges())
recordChange(SolverTrail::Change::introducedToInference(typeVar, type));
// Notify the constraint graph.
CG.bindTypeVariable(typeVar, type);