Swift: LazySequenceType appears to still have an array property
| Originator: | natecook | ||
| Number: | rdar://23247313 | Date Originated: | 24-Oct-2015 03:42 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.1 (7B91b) |
| Classification: | Other Bug | Reproducible: | Always |
The Swift module generated header shows a “var array” property, but trying to access the property on a lazy sequence gives the error: “error: 'array' is unavailable: please construct an Array from your lazy sequence: Array(…)” If the array property is unavailable it shouldn’t be visible in the generated header.
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!