Skip to content

Instantly share code, notes, and snippets.

@HugoMatilla
Last active May 17, 2018 13:33
Show Gist options
  • Save HugoMatilla/ddf03336bed2a563ccdeda8a2a28b962 to your computer and use it in GitHub Desktop.
Save HugoMatilla/ddf03336bed2a563ccdeda8a2a28b962 to your computer and use it in GitHub Desktop.
class Button {
fun click() = print("Click")
}
class SpecificButton : Button() { // Error
override fun click() = print("Specific Click") // Error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment