Files
kotlin-fork/compiler/testData/diagnostics/tests/inner/localClassInsideNested.kt
T

12 lines
222 B
Kotlin
Vendored

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