mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
24aa030f0c
There was a path through associated type inference where we would end up recording a type witness that contained an error, but for which we had not reported that error, which would lead to downstream crashes. Make sure that we reject such inferences. And because it triggers once we fix this issue... make sure break recursion when trying to resolve type witnesses lazily. Fixes the crash in SR-6609 / rdar://problem/36038033, but we're still failing to infer in those cases.