Files
kotlin-fork/compiler/testData/diagnostics/tests/inner/nestedClassExtendsOuter.kt
T
Alexander Udalov 5d92453532 Inaccessible outer class member is now an error
#KT-1174 In Progress
2013-01-16 23:11:41 +04:00

9 lines
138 B
Kotlin

open class Outer {
class Nested : Outer() {
fun bar() = foo()
fun baz() = super.foo()
}
fun foo() = 42
}