Closed dmace2 closed 2 years ago
Note: This code passed all tests as well as the additional tests located below, which stemmed from the same issue and failed prior to my changes when building against iOS 16 with SafariServices.framework connected to the package
https://github.com/google/promises/issues/88#issuecomment-572834083
@ykjchen PR updated with changes
Verify error status using type(of:) is NSError.Type rather than using as? NSError
This was raised due to iOS 16 String extending Error, meaning any Promise will always return as rejected even if the actual promise code was successful
fix #185