mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
To make this test work, fix an issue in `ConstraintSystem::salvage` where a threshold breach during solving went unnoticed due to exiting on ambiguity before reaching the `isTooComplex` check. Address this by moving the `isTooComplex` check to before we start processing solutions, and stick another one in `findBestSolution` for short-circuiting while we're here.
247 KiB
247 KiB