Override property calls super when its not abstract

This commit is contained in:
Valentin Kipyatkov
2014-12-18 17:15:14 +03:00
parent 5f2446d889
commit c882e902c3
4 changed files with 41 additions and 29 deletions
@@ -5,7 +5,7 @@ open class A() {
fun some() : A {
return object : A() {
override val method: () -> Unit?
get() = <selection><caret>throw UnsupportedOperationException()</selection>
get() = <selection><caret>super.method</selection>
}
}