Playground fails silently on badly defined property.
| Originator: | matteosartori | ||
| Number: | rdar://23409988 | Date Originated: | 05-Nov-2015 12:32 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.1 (7B91b) |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary:
A playground fails to run (ignores execute playground requests) without producing any errors or messages if a class or property is defined as follows:
class foo {
var val { get set }
}
Or
protocol foo {
var val { get set }
}
Steps to Reproduce:
1) paste one of the above snippets into a new Playground
2) attempt to run it by (default is automatic, but nothing will happen)
Expected Results:
The expected output would be a warning that the property is missing a type declaration.
Actual Results:
Silent failure to execute playground.
Regression:
I have only tried this on the version described.
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!