Open swift-ci opened 3 years ago
Attachment: Download
Issue Description:
I have a CoreData entity let's call it `YHEntity`.
YHEntity`
In `YHEntity` class (ObjC) that override fetchRequest to return `NSFetchRequest<YHEntity *> *`.
fetchRequest
NSFetchRequest<YHEntity *> *
In Swift 5.4: Swift code can see the `fetchRequest` method returning `NSFetchRequest<YHEntity *> *` ✅
fetchRequest`
In Swift 5.5: Swift code can see the `fetchRequest` method returning `NSFetchRequest< NSFetchRequestResult> * ` ❌
NSFetchRequest< NSFetchRequestResult> *
Here's a sample project attached that simulates the problem, build succeeds with Xcode 12 but fails with Xcode 13.
@swift-ci create
Thanks for reporting this issue with a small example. Confirming it's not an issue with 12.5 but is an issue with beta 2.
Comment by Yousef (JIRA)
This issue is fixed ✅
Attachment: Download
Environment
Swift 5.5 Xcode 13 beta 1Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 84c0efea674e75d8590f3d19348d67eaIssue Description:
I have a CoreData entity let's call it `
YHEntity`
.In `
YHEntity`
class (ObjC) that overridefetchRequest
to return `NSFetchRequest<YHEntity *> *
`.In Swift 5.4:
Swift code can see the `
fetchRequest`
method returning `NSFetchRequest<YHEntity *> *
` ✅In Swift 5.5:
Swift code can see the `
fetchRequest`
method returning `NSFetchRequest< NSFetchRequestResult> *
` ❌Here's a sample project attached that simulates the problem, build succeeds with Xcode 12 but fails with Xcode 13.