Skip to content

Synthesize Equatable conformance when compiling with Swift 4.1#173

Merged
mattrubin merged 9 commits into
developfrom
synthesized-equatable-operator
Apr 21, 2018
Merged

Synthesize Equatable conformance when compiling with Swift 4.1#173
mattrubin merged 9 commits into
developfrom
synthesized-equatable-operator

Conversation

@mattrubin

Copy link
Copy Markdown
Owner

Use conditional compilation blocks to manually implement equality operators for Swift 4.0 and below, but use compiler-synthesized implementations for Swift 4.1 and above. Configure the CI to build with Xcode 9.3 (Swift 4.1) by default, but also add an extra CI build to explicitly test building with Xcode 9.0 (Swift 4.0).

@codecov

codecov Bot commented Apr 21, 2018

Copy link
Copy Markdown

Codecov Report

Merging #173 into develop will increase coverage by 2.8%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop     #173     +/-   ##
==========================================
+ Coverage    94.38%   97.19%   +2.8%     
==========================================
  Files            6        6             
  Lines          392      392             
==========================================
+ Hits           370      381     +11     
+ Misses          22       11     -11
Impacted Files Coverage Δ
Sources/Generator.swift 100% <ø> (ø) ⬆️
Sources/PersistentToken.swift 100% <ø> (ø) ⬆️
Sources/Token.swift 100% <ø> (ø) ⬆️
Sources/Token+URL.swift 98.41% <0%> (+1.58%) ⬆️
Sources/Keychain.swift 92.24% <0%> (+7.75%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 127a07a...3111dcc. Read the comment docs.

@mattrubin mattrubin merged commit 859880f into develop Apr 21, 2018
@mattrubin mattrubin deleted the synthesized-equatable-operator branch April 21, 2018 17:42
@mattrubin mattrubin added this to the 3.1.2 milestone Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant