Commit Graph

2 Commits

Author SHA1 Message Date
gregomni
85baf3f6c6 Diagnosis changes in fixed crasher 2018-10-15 10:36:37 -07:00
Pavel Yaskevich
235ed55004 [TypeChecker] When formatting witness type for diagnostics don't assume it's always valid
Sometimes witness candidates have error type e.g. when re-declaration checking
marks them as `invalid`, so formatting of the diagnostic
should account of potential witnesses not having a valid type.

Resolves: rdar://problem/41141944
2018-06-15 19:50:25 -07:00