[KAPT] Keep constant references in annotations with array values

#KT-29929 Fixed
This commit is contained in:
Andrey Zinovyev
2021-02-10 16:17:02 +03:00
committed by TeamCityServer
parent 9e9450caa2
commit 8071a1e246
6 changed files with 141 additions and 34 deletions
@@ -55,4 +55,6 @@ fun pairedListToMap(valuePairs: List<Any>?): Map<String, Any?> {
operator fun <T : Any> JavacList<T>.plus(other: JavacList<T>): JavacList<T> {
return this.appendList(other)
}
}
fun <T : Any> Iterable<T>.toJavacList(): JavacList<T> = JavacList.from(this)