Commits

Jordan Rose committed 19af8a124c1
Re-apply "If a function conversion fails, suggest wrapping in a closure." This re-applies r24987, reverted in r24990, with a fix for a spuriously- introduced error: don't use a favored constraint in a disjunction to avoid applying a fix. (Why not? Because favoring bubbles up, i.e. the /disjunction/ becomes favored even if the particular branch is eventually rejected.) This doesn't seem to affect the outcome, though: the other branch of the disjunction doesn't seem to be tried anyway. Finishes rdar://problem/19600325 Swift SVN r25054