Swift - String interpolation causes segmentation fault in the compiler.

Originator:rossfeld
Number:rdar://19360851 Date Originated:12/30/2015
Status:Closed Resolved:YES
Product:Developer Tools Product Version:6.1.1
Classification: Reproducible:Yes
 
Summary:
An improperly formed string can cause the compiler to break.

Example:

var value1 = 1.0
var value2 = 2.0
println("\(value1:value2)")

When I meant

println ("\(value1) : \(value2)")

Error:
Swift Compiler Error
Command failed due to signal: Segmentation fault: 11

Steps to Reproduce:
Example in description.

Expected Results:
The compiler should be able to identify the bad string.

Actual Results:
Error:
Swift Compiler Error
Command failed due to signal: Segmentation fault: 11

No additional help until the string is fixed.

Version:
Xcode 6.1.1 on Yosemite 10.10.1

Notes:


Configuration:
N/A

Attachments:

Comments

xCode 6.3 fixed this.


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!