[FE] Fix: do not report ambiguous label if label map is empty
This commit is contained in:
committed by
teamcity
parent
8905586cbb
commit
ea33da3a8d
+9
@@ -0,0 +1,9 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// WITH_STDLIB
|
||||
|
||||
fun testLabels(source: Collection<String>) {
|
||||
val r = buildList {
|
||||
source.mapTo(this@buildList) { it.length }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user