MoveLambdaOutsideParentheses: intention -> inspection #KT-21413 Fixed

This commit is contained in:
kenji tomita
2018-04-06 15:37:36 +03:00
committed by Mikhail Glukhikh
parent 83573ed517
commit decf9939fe
47 changed files with 193 additions and 225 deletions
@@ -0,0 +1,5 @@
<html>
<body>
This inspection detects a lambda expression inside parentheses which can be moved outside of them.
</body>
</html>
@@ -1,3 +0,0 @@
fun foo() {
<spot>bar(2) { it * 3 }</spot>
}
@@ -1,3 +0,0 @@
fun foo() {
<spot>bar(2, { it * 3 })</spot>
}
@@ -1,5 +0,0 @@
<html>
<body>
This intention moves a lambda expression outside parentheses.
</body>
</html>