Open swift-ci opened 5 years ago
Issue Description:
I made some snippets here:
https://gist.github.com/sisoje/a9226fc4c00613cc62648140480783ef
Crash occurs only when we use identity key path.
Expression using "expressionForEvaluatedObject" always works well.
I expected that identity key path works the same as "expressionForEvaluatedObject" but it isn't the case.
cc @jckarter. Is this a failure of key paths or CoreData?
I'm not sure. The identity key path ought to bridge over to the @"self" key path in Cocoa KVC. I'm not sure whether Core Data handles that.
@"self"
Environment
XCode 10.2 beta 4, Swift 5, iPhone Xr simulator.Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Standard Library | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: f2e8ed7c7d98130934e4b2282b123693Issue Description:
I made some snippets here:
https://gist.github.com/sisoje/a9226fc4c00613cc62648140480783ef
Crash occurs only when we use identity key path.
Expression using "expressionForEvaluatedObject" always works well.
I expected that identity key path works the same as "expressionForEvaluatedObject" but it isn't the case.