"Simplify using destructuring declaration" is now applicable for function literals #KT-13941 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-10-03 12:18:29 +03:00
parent 42aea59253
commit df0cf3da84
19 changed files with 193 additions and 9 deletions
@@ -0,0 +1,5 @@
// WITH_RUNTIME
data class XY(val x: String, val y: String)
fun foo(list: List<XY>) = list.map { <caret>it -> it.x + it.y }