KT-2822 Can't make a super call from an object literal

#KT-2822 Fixed
This commit is contained in:
Alexander Udalov
2012-09-26 21:53:35 +04:00
parent 66359894ee
commit acf8702ccf
4 changed files with 17 additions and 3 deletions
@@ -0,0 +1,7 @@
open class A {
fun foo() = "OK"
}
fun box() = object : A() {
fun bar() = super<A>.foo()
}.bar()