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

Compile error in Swift 3.0.2 #5

Closed
gianfilippocisternino opened this issue Jan 23, 2017 · 3 comments
Closed

Compile error in Swift 3.0.2 #5

gianfilippocisternino opened this issue Jan 23, 2017 · 3 comments

Comments

@gianfilippocisternino
Copy link

I got this compile error:
overriding var must be as accessible as its enclosing type

The problem is related to the property isHighlighted of the class ActionButton: it can't be less visible than the superclass.

Please fix it,
Thank you

@sudhir-oab
Copy link

Same error comes for me as well for below line in "ActionButton" class.
override private var isHighlighted: Bool {
It says

overriding var must be as accessible as its enclosing type

@gbettinazzi
Copy link

Same error here "overriding var must be as accessible as its enclosing type" @ra1028 is there a fix coming for this? Thank u

@staticdreams
Copy link
Contributor

The fix is trivial. I fixed this and submitted a PR
Check out my fork if this does not get through

@ra1028 ra1028 closed this as completed in #6 Oct 23, 2017
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

No branches or pull requests

4 participants