Commits

Chris Lattner committed f30dd517635
fix rdar://15735537: __conversion function not found in protocol if marked @mutating - shouldTryUserConversion was not looking through @lvalue to determine if the underlying type had a __conversion member, so we were only trying user conversions on lvalues through an lvalue-to-rvalue conversion. - Similarly, fix the similar-but-different filter in tryUserConversion to look through lvalues as well. This causes the QoI of some conversion diagnostics to get worse (the dreaded "does not type check error") because there are now two possible conversions instead of one in some cases and the diagnostics of the type checker doesn't handle this case well. Swift SVN r11789