IR: introduce IrAttributeContainer
This is useful to store data that must be kept when the element is transformed, such as names of local/anonymous classes and EnclosingMethod values on JVM which are computed before any lowerings. For now, this is implemented very conservatively: the only field `attributeOwnerId` which can be used in BackendContext implementation as a key in the map
This commit is contained in:
+1
@@ -330,6 +330,7 @@ class LocalDeclarationsLowering(
|
||||
).also {
|
||||
it.fillArguments2(expression, newCallee)
|
||||
it.copyTypeArgumentsFrom(expression)
|
||||
it.copyAttributes(expression)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user