mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
20 lines
306 B
Kotlin
Vendored
20 lines
306 B
Kotlin
Vendored
class Outer {
|
|
fun foo() {}
|
|
|
|
inner class Inner {
|
|
fun test() {
|
|
foo()
|
|
}
|
|
|
|
inner class Inner2 {
|
|
fun test2() {
|
|
test()
|
|
foo()
|
|
}
|
|
|
|
fun Outer.test3() {
|
|
foo()
|
|
}
|
|
}
|
|
}
|
|
} |