Added KT-4579 makeTypeExplicitInLambda and makeTypeImplicitInLambda intentions

This commit is contained in:
Lingzhang
2014-03-27 15:17:52 -04:00
committed by Alexander Udalov
parent 1ef785eb1a
commit 6066d19de5
60 changed files with 656 additions and 1 deletions
@@ -0,0 +1 @@
foo(1, 2, <spot>{(a: Int, b: Int): Int -> a + b}</spot>)
@@ -0,0 +1 @@
foo(1, 2, <spot>{a, b -> a + b}</spot>)
@@ -0,0 +1,5 @@
<html>
<body>
This intention makes types of parameters, receiver, and return type explicit in a lambda expression.
</body>
</html>
@@ -0,0 +1 @@
foo(1, 2, <spot>{a, b -> a + b}</spot>)
@@ -0,0 +1 @@
foo(1, 2, <spot>{(a: Int, b:Int): Int -> a + b}</spot>)
@@ -0,0 +1,5 @@
<html>
<body>
This intention makes types of parameters, receiver, and return type implicit in a lambda expression
</body>
</html>