Convert reference to lambda intention introduced #KT-13393 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-11-21 18:04:02 +03:00
parent 27df76b02d
commit b111d1ba69
39 changed files with 346 additions and 15 deletions
@@ -0,0 +1,3 @@
class Person(val name: String)
val persons = listOf("Jack", "Tom").map { Person(it) }
@@ -0,0 +1,3 @@
class Person(val name: String)
val persons = listOf("Jack", "Tom").map(::Person)
@@ -0,0 +1,5 @@
<html>
<body>
This intention converts a callable function reference to the lambda expression
</body>
</html>