Replicate old backend's naming logic for captured receiver parameter and extension receiver parameters.

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.
This commit is contained in:
Jiaxiang Chen
2019-05-14 09:30:20 +09:00
committed by Yan Zhulanow
parent 9760c156a4
commit 2c102ecd57
6 changed files with 51 additions and 7 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class A(val value: String)
fun A.test(): String {