Files
kotlin-fork/js/js.translator/testData/box/multiModule/interfaceMethodWithDefaultParameter.kt
T
Alexey Andreev 3b3fd0fa0d JS: fix DCE limits in test data to fit new kotlin.js size
The size has increased due to new implementation of KClass
2017-10-06 18:16:51 +03:00

14 lines
252 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 1117
// MODULE: lib
// FILE: lib.kt
public interface I {
public fun f(p: String = "O"): String
}
// MODULE: main(lib)
// FILE: main.kt
public class C : I {
override fun f(p: String) = p + "K"
}
fun box() = C().f()