Don't suggest destructuring if at least half components not used
So #KT-16828 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
318314f1a4
commit
feb9dd4d83
@@ -0,0 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
data class Package(val name: String, val version: String, val source: String, val id: Int)
|
||||
|
||||
val pkgs = listOf<Package>().mapIndexed { i, <caret>p -> "${p.name} ${p.version}" to i + p.id }.toMap()
|
||||
Reference in New Issue
Block a user