mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
Context for determine if a value parameter is captured from outer context is not directly available after lowering, hence introduce a new IrDeclarationOrigin for captured receiver parameter to avoid duplicate calculation.
11 lines
190 B
Kotlin
Vendored
11 lines
190 B
Kotlin
Vendored
class A() {
|
|
fun String.test() {
|
|
|
|
}
|
|
}
|
|
|
|
|
|
// METHOD : A.test(Ljava/lang/String;)V
|
|
// VARIABLE : NAME=this TYPE=LA; INDEX=0
|
|
// VARIABLE : NAME=$this$test TYPE=Ljava/lang/String; INDEX=1
|