KT-2822 Can't make a super call from an object literal
#KT-2822 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
open class A {
|
||||
fun foo() = "OK"
|
||||
}
|
||||
|
||||
fun box() = object : A() {
|
||||
fun bar() = super<A>.foo()
|
||||
}.bar()
|
||||
Reference in New Issue
Block a user