Files
kotlin-fork/js/js.translator/testData/box/callableReference/function/extensionFromClass.kt
T

12 lines
239 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 493
// This test was adapted from compiler/testData/codegen/box/callableReference/function/.
package foo
class A {
fun result() = (A::bar)(this, "OK")
}
fun A.bar(x: String) = x
fun box() = A().result()