mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Remove SolverTrail::Change::introducedToInference()
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user