Closed stmitt closed 3 years ago
Kudos, SonarCloud Quality Gate passed!
@stmitt thanks for submitting this. Looks like there's a problem with one of the tests. I'll see if I can fix the issue. If not I'll push this through regardless, since it's just the swift development snapshot that's failing.
@dannys42 @mbarnach any chance to merge this pull request?
I've restarted the build. It seems the issue was due to a quota limitation on Travis. Hopefully it will succeed this time and we can merge without forcing.
FYI, Travis is moving to limit their free services. I've started talks with them to get Kitura included, but I think they're a bit swamped as I haven't heard from them in a few days.
It loos like everything passed except for the Swift 5.4 development branch due to some compiler problem. I've updated the swift development build version, but I think it's fine pushing this PR through regardless of the result.
Starting with starting with Swift 4.0 all CF types already conform to Hashable. Therefore this extension is not needed anymore.
Description
Pre Swift 4.0 this extension was required but since the minimal swift version of this package is 4.0 this part of the code is not needed anymore. The corresponding implementation in the swift stdlib can be found here.
Motivation and Context
Recent changes in the Swift runtime indicate that the order in which protocol conformances are loaded is not guaranteed and might change with swift 5.4 which will ship with the upcoming Xcode release (12.5). Therefore the CFString extension of this package might produce unwanted side-effects for the application which is using this package.
How Has This Been Tested?
Built and run on macOS and iOS. Ran tests on the macOS target.