Files
kotlin-fork/js/js.translator/testData/callableReference/function/cases/extension.kt
T
2014-07-30 17:50:16 +04:00

10 lines
198 B
Kotlin

// This test was adapted from compiler/testData/codegen/boxWithStdlib/callableReference/function/local/.
package foo
class A
fun box(): String {
fun A.foo() = "OK"
return A().(A::foo)()
}