[NI-MIGRATE] Update test about signature enhancements

It's required as now there are no synthetic candidates
This commit is contained in:
Mikhail Zarechenskiy
2020-02-12 18:53:04 +03:00
parent 319a38bd5c
commit c2fc633ad6
10 changed files with 73 additions and 72 deletions
@@ -1,13 +1,14 @@
fun valuesNotNull(map: MutableMap<Int, String>) {
map.forEach { k, v -> }
// SUCCESS
// ORIGINAL: fun forEach((K, V) -> Unit): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun forEach((Int, String) -> Unit): Unit defined in kotlin.collections.MutableMap
// ORIGINAL: fun forEach(BiConsumer<in K, in V>): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun forEach(BiConsumer<in Int, in String>): Unit defined in kotlin.collections.MutableMap
}
fun <T> valuesT(map: MutableMap<Int, T>, newValue: T) {
map.forEach { k, v -> }
// SUCCESS
// ORIGINAL: fun forEach((K, V) -> Unit): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun forEach((Int, T) -> Unit): Unit defined in kotlin.collections.MutableMap
// ORIGINAL: fun forEach(BiConsumer<in K, in V>): Unit defined in kotlin.collections.MutableMap
// SUBSTITUTED: fun forEach(BiConsumer<in Int, in T>): Unit defined in kotlin.collections.MutableMap
}