Skip to content

Instantly share code, notes, and snippets.

@luke-c
Created October 23, 2018 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luke-c/20bfdd2d9b04e3106ffb38fc722bc927 to your computer and use it in GitHub Desktop.
Save luke-c/20bfdd2d9b04e3106ffb38fc722bc927 to your computer and use it in GitHub Desktop.
interface SessionManagerContract {
fun setHello(helloData: Hello?, save: Boolean = true)
}
override fun setHello(helloData: Hello?, save: Boolean = true) { // complains
}
override fun setHello(helloData: Hello?, save: Boolean) { // fine
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment