mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
23 lines
426 B
Kotlin
23 lines
426 B
Kotlin
fun test() {
|
|
|
|
fun local(){
|
|
{
|
|
//static instance access
|
|
local()
|
|
}()
|
|
}
|
|
|
|
//static instance access
|
|
{
|
|
//static instance access
|
|
local()
|
|
}()
|
|
|
|
//static instance access
|
|
(::local)()
|
|
}
|
|
|
|
// 3 GETSTATIC _DefaultPackage\$.+\$test\$1\.INSTANCE\$
|
|
// 1 GETSTATIC _DefaultPackage\$.+\$test\$2\.INSTANCE\$
|
|
// 1 GETSTATIC _DefaultPackage\$.+\$test\$3\.INSTANCE\$
|