Set names for tmp vars in FunctionInlining without special symbols
This way we drop excess symbols like `<` and `>`. This is need on JVM to get rid of "dexing error".
This commit is contained in:
+2
-2
@@ -570,7 +570,7 @@ class FunctionInlining(
|
|||||||
substitutor,
|
substitutor,
|
||||||
data = null
|
data = null
|
||||||
),
|
),
|
||||||
nameHint = callee.symbol.owner.name.toString(),
|
nameHint = callee.symbol.owner.name.asStringStripSpecialMarkers(),
|
||||||
isMutable = false
|
isMutable = false
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -634,7 +634,7 @@ class FunctionInlining(
|
|||||||
).apply {
|
).apply {
|
||||||
statements.add(variableInitializer)
|
statements.add(variableInitializer)
|
||||||
},
|
},
|
||||||
nameHint = callee.symbol.owner.name.toString(),
|
nameHint = callee.symbol.owner.name.asStringStripSpecialMarkers(),
|
||||||
isMutable = false,
|
isMutable = false,
|
||||||
origin = if (parameter == callee.extensionReceiverParameter) {
|
origin = if (parameter == callee.extensionReceiverParameter) {
|
||||||
IrDeclarationOrigin.IR_TEMPORARY_VARIABLE_FOR_INLINED_EXTENSION_RECEIVER
|
IrDeclarationOrigin.IR_TEMPORARY_VARIABLE_FOR_INLINED_EXTENSION_RECEIVER
|
||||||
|
|||||||
Reference in New Issue
Block a user