Files
kotlin/compiler/testData/codegen/bytecodeText/constClosureOptimization.kt
2014-03-31 20:04:09 +04:00

22 lines
413 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\$