Segmentation fault 11 when using illegal string interpolation in Xcode 10
Originator: | oetjen | ||
Number: | rdar://45330067 | Date Originated: | 2018-10-17 |
Status: | open | Resolved: | |
Product: | Xcode | Product Version: | 10 |
Classification: | bug | Reproducible: | always |
Summary: When using an illegal string interpolation (e.g. we expect an compiler error), the compiler instead crashes with "Segmentation fault: 11" Steps to Reproduce: The following code will crash Xcode 10 let foo:String? = "bar" print("foo is: \(describing:foo)"); // instead of String(describing:foo) Expected Results: Compiler error Actual Results: Compiler crash Version/Build: Xcode 10
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!