Implement property uses throw UnsupportedOperationException() instead of default value or ?

This commit is contained in:
Valentin Kipyatkov
2014-12-18 16:39:54 +03:00
parent 367b99a156
commit 5f2446d889
11 changed files with 22 additions and 23 deletions
@@ -22,7 +22,7 @@ class C : Base<String, C, Unit>() {
}
override val method: (String?) -> String
get() = ?
get() = throw UnsupportedOperationException()
override fun toString(): String {
return super.toString()