Closed
Description
Previous ID | SR-2486 |
Radar | None |
Original Reporter | vadim (JIRA User) |
Type | Bug |
Status | Closed |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | Foundation |
Labels | Bug, Linux, RunTimeCrash |
Assignee | saiHema (JIRA) |
Priority | Medium |
md5: eecfc423c77c0be1058908e05dc9b348
Issue Description:
The following code crashes with core dump on Ubuntu:
import Foundation
let aSet = NSMutableSet()
let dictionary = NSMutableDictionary()
let key = NSString(string: "collection")
aSet.add(["key": "value"])
dictionary.setObject(aSet, forKey: key)
print("dictionary = \(dictionary)")