Xcode-7-beta.4 (7A165t): [Swift] Can't reference typaliased tuple labels as functions
| Originator: | segiddins | ||
| Number: | rdar://21928063 | Date Originated: | 21-Jul-2015 02:27 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode-7-beta.4 (7A165t) |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Typaliased tuples can’t have their members referenced as functions. Steps to Reproduce: let f = Mirror.Child.label Expected Results: f should be a function (Mirror.Child) -> (String?) Actual Results: This fails to compile, saying: error: 'Child.Type' does not have a member named 'label'
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!