mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
10 lines
129 B
Kotlin
10 lines
129 B
Kotlin
class Test {
|
|
class Nested {
|
|
val value = "OK"
|
|
}
|
|
}
|
|
|
|
fun Test.Nested.foo() = value
|
|
|
|
fun box() = Test.Nested().foo()
|