Added KT-4579 makeTypeExplicitInLambda and makeTypeImplicitInLambda intentions
This commit is contained in:
committed by
Alexander Udalov
parent
1ef785eb1a
commit
6066d19de5
+1
@@ -0,0 +1 @@
|
||||
foo(1, 2, <spot>{(a: Int, b: Int): Int -> a + b}</spot>)
|
||||
+1
@@ -0,0 +1 @@
|
||||
foo(1, 2, <spot>{a, b -> a + b}</spot>)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention makes types of parameters, receiver, and return type explicit in a lambda expression.
|
||||
</body>
|
||||
</html>
|
||||
+1
@@ -0,0 +1 @@
|
||||
foo(1, 2, <spot>{a, b -> a + b}</spot>)
|
||||
+1
@@ -0,0 +1 @@
|
||||
foo(1, 2, <spot>{(a: Int, b:Int): Int -> a + b}</spot>)
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention makes types of parameters, receiver, and return type implicit in a lambda expression
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user