Commits

Chris Lattner committed 1cd3220414a
- Fix the diagnostic produced in visitUnresolvedMemberExpr to print the oneof's type, not the type we're trying to infer. This matches the diagnostic. - Fix the diagnostic produced by visitUnresolvedMemberExpr when we find a non-function element but expect a function, to say so. - Fix coercing in visitUnresolvedDotExpr to handle the case when we do infer a type for the result of the UnresolvedDotExpr. Even though it isn't helpful, it isn't a bad thing to infer things :) - Fix the logic that I added in an if(0) block to SemaCoerce::visitApplyExpr to preserve the "CF_Apply" bit. Dropping this is bad. - Move this logic around a bit and enable it! This allows zapping some terrible "syntactic" processing of UnresolvedMemberExpr, and a fixme. The terrible "syntactic" handling of OverloadSetRefExpr will die next. Swift SVN r2011