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

Put open functions in extensions into class definition #500

Merged
merged 2 commits into from
Nov 6, 2016
Merged

Put open functions in extensions into class definition #500

merged 2 commits into from
Nov 6, 2016

Conversation

ceyhun
Copy link

@ceyhun ceyhun commented Nov 4, 2016

Put open functions in extensions into class definition to be able to override open functions in subclasses. Before if you tried to do it you'd gotten the Swift error: Declarations from extensions cannot be overridden yet.

@codecov-io
Copy link

codecov-io commented Nov 5, 2016

Current coverage is 74.02% (diff: 100%)

Merging #500 into master will not change coverage

@@             master       #500   diff @@
==========================================
  Files            21         21          
  Lines          2214       2214          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1639       1639          
  Misses          575        575          
  Partials          0          0          

Powered by Codecov. Last update 6737c74...73322a6

@onevcat onevcat merged commit 5427e09 into onevcat:master Nov 6, 2016
@onevcat
Copy link
Owner

onevcat commented Nov 6, 2016

Thanks for pointing it out!

rain2540 pushed a commit to rain2540/Kingfisher that referenced this pull request Feb 28, 2017
Put `open` functions in extensions into class definition
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