Assert SegFaults Swift REPL
| Originator: | kykimnyc | ||
| Number: | rdar://17122847 | Date Originated: | 2014-06-03 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 6A215l |
| Classification: | Crash | Reproducible: | Yes |
Summary:
Failed assertion causes swift REPL to seg fault
Steps to Reproduce:
1) xcrun swift
2) enter following example from "The Swift Programming Language"
1> let age = -3
2> assert( age >= 0, "A person's age cannot be less than zero")
Expected Results:
an assertion failure message containing the text "A person's age cannot be less than zero"
Actual Results:
Segmentation fault: 11
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!