Swift 2.0, When a func has a return type and the framework that contains this type isn't imported Xcode 7 fires a warning about the func doesn't exists

Originator:nebiros
Number:rdar://21533417 Date Originated:24-Jun-2015
Status: Resolved:
Product:Xcode 7 Product Version:Beta 2
Classification: Reproducible:
 
Summary:
When a func has a return type and the framework that contains this type isn't imported Xcode 7 fires a warning about the func doesn't exists. But it really exists!. What doesn't exists is the framework `import` that contains this type. Xcode should warning about that some framework is missing or not imported.

Steps to Reproduce:


Expected Results:
Xcode should warning about that some framework is missing or not imported.

Actual Results:


Version:
Xcode 7, Beta 2

Notes:


Configuration:


Attachments:
'Screen Shot 2015-06-23 at 10.28.54 PM.png' was successfully uploaded.

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!