mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename `addNewFailingConstraint` to `recordFailedConstraint`, and call into it whenever a constraint fails, instead of setting `failedConstraint`. This ensures that `-debug-constraints` will always log the constraint that failed a given scope. In addition, introduce `retireFailedConstraint` to cover the common case of retiring a constraint that just failed.
380 KiB
380 KiB