-[NSManagedObjectContext countForFetchRequest:error:] is not converted correctly

Originator:felix.gabel
Number:rdar://21338441 Date Originated:11.06.2015
Status:Open Resolved:
Product:iOS Product Version:9.0 Beta 1
Classification: Reproducible:always
 
Summary:
-[NSManagedObjectContext countForFetchRequest:error:] is not converted correctly in Swift 2.

Steps to Reproduce:
Take a look at the header

Expected Results:
func countForFetchRequest(request: NSFetchRequest) throws -> Int

Actual Results:
func countForFetchRequest(request: NSFetchRequest, error: NSErrorPointer) -> Int

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!