Xcode9b2 - would like "method declared here" warning to take me to where the method is declared.
Originator: | markd | ||
Number: | rdar://32967802 | Date Originated: | 6/24/2017 |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | Version 9.0 beta 2 (9M137d) |
Classification: | UI/Usability | Reproducible: | Always |
Summary: I have an objective-C method I've declared but doesn't have a backing implementations (happens during cleanup) I get a warning: /Users/markd/[redacted]:56:17: Method definition for 'yPositionsForAllEventsFrom:toEventEnd:' not found And a tantalizing message: /Users/markd/[redacted]:146:1: Method 'yPositionsForAllEventsFrom:toEventEnd:' declared here When I click there, it takes me to the header file scrolled to the top, rather than the actual place that's indicated in the tantalizing message. Line 146 is the correct location. See movie at this dropbox link: https://www.dropbox.com/s/[redacted]/missing-method-formation.mp4?dl=0 Steps to Reproduce: Have a clean building objc class. Take out the implementation of a method declared in the header build get a warning about missing implementation click on the "Method 'allyour:Base:' declared here" thingie in the issues inspector Expected Results: got to where the legacy method declaration lives Observed Results: just go to the top of the file Version: Version 9.0 beta 2 (9M137d) 10.12.5 (16F73) Notes: Configuration: Works fine in Xcode8 IIRC. This is a rarity for me doing objective-C inside of Xcode. I usually use another editor for that.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!