[K2] Support proper serialization of string concatenation expressions

This commit is contained in:
Ivan Kylchik
2023-04-05 15:10:53 +02:00
committed by Space Team
parent 1e3e04173b
commit 6909d9a2f9
7 changed files with 114 additions and 0 deletions
@@ -0,0 +1,7 @@
object Obj {
const val O = "O"
val concat = "${O}K"
}
@Deprecated("${Obj.O}/{id}")
class Foo
@@ -0,0 +1,6 @@
package <root> {
@Deprecated(message = "O/{id}") class Foo constructor()
object Obj {
const val O: String = "O"
val concat: String = "OK"
}