This code "let a = [1]; (a == a) || (a != a)" crash swift REPL.
| Originator: | blueapple | ||
| Number: | rdar://17206218 | Date Originated: | 07-Jun-2014 05:45 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode6-Beta 6A215l |
| Classification: | Crash | Reproducible: | Always |
Summary: A simple expression crash swift REPL came with Xcode 6.0-Beta under 10.9.3. Steps to Reproduce: Welcome to Swift! Type :help for assistance. 1> let a = [1]; (a == a) || (a != a) Segmentation fault: 11 Expected Results: true Actual Results: Segmentation fault: 11 Version: Mac OS X 10.9.3 13D65 Xcode6-Beta 6A215l Notes: Configuration: MacBookPro11,1 Swift version 1.0 (swift-600.0.34.4.5)
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!