Files
kotlin/compiler/testData/checkLocalVariablesTable/jvmOverloads.kt
Mads Ager b1e8a7cfce JVM: Generate LVT entry for this in @JvmOverload methods.
This change also makes sure that no line numbers are generated
in the wrappers in the JVM_IR backend.

Change-Id: If6c37f8a20894455abddb526039df059e02015a3
2019-05-14 15:14:07 +02:00

10 lines
225 B
Kotlin
Vendored

// WITH_RUNTIME
class C {
@kotlin.jvm.JvmOverloads fun foo(firstParam: Int, secondParam: String = "") {
}
}
// METHOD : C.foo(I)V
// VARIABLE : NAME=this TYPE=LC; INDEX=0
// VARIABLE : NAME=firstParam TYPE=I INDEX=1