Commit Graph

5 Commits

Author SHA1 Message Date
Jordan Rose
e5b8ff9e84 Continue tweaking the wording of the ObjC selector conflict diagnostics.
Per feedback from Doug. More rdar://problem/19927828

Swift SVN r25740
2015-03-04 02:25:04 +00:00
Jordan Rose
c91952130f Wordsmith the errors for Objective-C selector conflicts.
Also, if warning about an accessor that comes from a stored property,
point to the property rather than the (implicit, source-location-less)
accessor decl.

Both of these changes are aimed at improving the presentation in Xcode.

rdar://problem/19927828

Swift SVN r25725
2015-03-03 23:25:46 +00:00
Doug Gregor
049e58417c Pass declarations, not locations, when diagnosing Objective-C method redeclarations.
Fixes rdar://problem/19726258.

Swift SVN r25182
2015-02-11 17:42:30 +00:00
Dmitri Hrybenko
60097454b8 Annotate objc_init_redundant.swift test as requiring ObjC interop
Swift SVN r25178
2015-02-11 10:19:01 +00:00
Doug Gregor
bc1422e9e0 Diagnose attempts to replace Objective-C methods via an extension.
Remove the logic that allowed an extension to provide an Objective-C
method that was already declared in the class itself, relying on the
existing Objective-C method redeclaration logic to detect such
conflicts. Fixes rdar://problem/17687082.

Swift SVN r25175
2015-02-11 08:01:22 +00:00