Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Swift 5 & fix warnings #1081

Merged
merged 5 commits into from
May 17, 2020

Conversation

emrcftci
Copy link
Contributor

Description

  • Upgrade Swift version to 5

  • Fix warnings related to Swift 5

Motivation and Context

  • We will be compatible with the Swift 5,

  • We will solve warnings

after this pull-request merge.

What kind of change does this PR introduce?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • File changes for improvement
  • This change requires a documentation update
  • I have run tests

 - Update Swift version to 5

 - XCode automaticly created IDEWorkspaceChecks.plist after update it

 - Delete SWIFT_SWIFT3_OBJC_INFERENCE from project.pbxproj
 - Fix `hashValue` to `hasher(into: )` in MappableExtensionsTests.swift

 - Fix warnings related to `try?` declaration in ImmutableTests, MapContextTests, PerformanceTests
@emrcftci
Copy link
Contributor Author

Travis fails because of invalid options PTAL @tristanhimmelman 🚀 -> Travis CI invalid options issue

Copy link
Contributor

@gcharita gcharita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change swift language version for all targets. Currently, only iOS and iOSTests targets has been changed.

Tests/ObjectMapperTests/MappableExtensionsTests.swift Outdated Show resolved Hide resolved
@emrcftci
Copy link
Contributor Author

emrcftci commented Apr 3, 2020

🚀 PTAL @gcharita

@ozgur
Copy link

ozgur commented Apr 30, 2020

any update on this?

@tristanhimmelman
Copy link
Owner

If you rebase this to get CI passing I will approve and merge

Merge master to emrcftci/master
emrcftci added a commit to emrcftci/ObjectMapper that referenced this pull request May 16, 2020
 - Revert accidently created commit from another pull-request -> tristanhimmelman#1081
@tristanhimmelman tristanhimmelman merged commit d371484 into tristanhimmelman:master May 17, 2020
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.

4 participants