Files
kotlin-fork/compiler/testData/diagnostics/tests/inner/localClassInsideNested.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

12 lines
221 B
Kotlin

class Outer {
class Nested {
fun foo() {
class Local {
val state = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>outerState<!>
}
}
}
val outerState = 42
}