Commits
Jordan Rose committed 13e8d9d27d8
[ClangImporter] Import properties even if there is a similarly-named method. ...and teach the type-checker to prefer variables to functions. This matters in Objective-C, where you may have these two members: @property NSURL *URL; - (void)URL:(NSURL *)url resourceDidFailLoadingWithReason:(NSString *)reason; This doesn't happen often, but we should do the right thing when it does. We still won't import a property named 'foo' if there is already a method '-foo' that takes no arguments. <rdar://problem/16383845> Swift SVN r15963