Skip to content

Return Self instead of UnitLength in UnitLength override method #1758

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

Closed
wants to merge 2 commits into from

Conversation

tkremenek
Copy link
Member

Fixes “cannot override a Self return type with a non-Self return type” error in Swift 5 compiler.

Fixes “cannot override a Self return type with a non-Self return type” error.
@tkremenek
Copy link
Member Author

@swift-ci test

@tkremenek
Copy link
Member Author

@swift-ci test

@slavapestov
Copy link
Contributor

@tkremenek This changed because the default is now -swift-version 5 right? Should we just be passing -swift-version 4 instead?

@millenomi
Copy link
Contributor

We want to be on the latest version of the language as much as possible.

@millenomi
Copy link
Contributor

@swift-ci please test

@tkremenek
Copy link
Member Author

I'm going to try and address this problem when moving to Swift 5 with a different approach.

@tkremenek tkremenek closed this Nov 13, 2018
@tkremenek tkremenek deleted the correct-self-return branch November 13, 2018 06:59
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.

3 participants