Commits

John McCall committed 9065880e5a0
When an error import would conflict with another method, preserve the original method name. This heuristic is based on the Objective-C selector and therefore doesn't really handle factory methods that would conflict with initializers, but we can hope that those simply don't come up in the wild. It's not clear that this is the best thing to do --- it tends to promote the non-throwing API over what's probably a newer, throwing API --- but it's significantly easier, and it unblocks code without creating deployment problems. Swift SVN r28066