Xcode 6.3:
| Originator: | paul | ||
| Number: | rdar://19827159 | Date Originated: | 13-Feb-2015 09:20 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 6.3 (6D520o) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When creating a property with a didSet it treats the property as a computed property even though its not. The error says a computed type must have an explicit type but i don’t *want* a computed property. Steps to Reproduce: 1. Create a swift class 2. Create a variable with a default value and a didSet Expected Results: It should compile without error and it should not be a computed property Actual Results: You get a compile time error saying ‘Computed property must have an explicit type’ Regression: always in Xcode 6.3 and I believe 6.1.1 as well. Notes:
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!