[FIR] Support deserialization of value parameter annotations
There are still some problems, see KT-39837
This commit is contained in:
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
fun test_1() {
|
||||
val list = buildList {
|
||||
add("")
|
||||
}
|
||||
takeList(list)
|
||||
}
|
||||
|
||||
fun test_2() {
|
||||
val list = myBuildList {
|
||||
add("")
|
||||
}
|
||||
takeList(list)
|
||||
}
|
||||
|
||||
fun <E> myBuildList(@BuilderInference builderAction: MutableList<E>.() -> Unit): List<E> {
|
||||
return ArrayList<E>().apply(builderAction)
|
||||
}
|
||||
|
||||
fun takeList(list: List<String>) {}
|
||||
Reference in New Issue
Block a user