Swift code fails to autocomplete
Originator: | segiddins | ||
Number: | rdar://40073447 | Date Originated: | 08-May-2018 03:15 PM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | Version 9.2 (9C40b) |
Classification: | Serious Bug | Reproducible: | Always |
Summary: In this particular project setup, swift code fails to autocomplete. I suspect it is due to some combination of disabling precompiled bridging headers and specifying `-Xcc -fmodule-map-file=…` in `OTHER_SWIFT_FLAGS` Steps to Reproduce: 1) open NoAutocomplete.xcodeproj 2) Select the NoAutocomplete scheme 3) Navigate to ViewController.swift 4) Type `Lib1().` under the comment, then hit escape Expected Results: Autocomplete should include the `bark` method Actual Results: No autocompletions given Version: Version 9.2 (9C40b) Notes: See the attached video for a demonstration
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!