MoveLambdaOutsideParentheses: intention -> inspection #KT-21413 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
83573ed517
commit
decf9939fe
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection detects a lambda expression inside parentheses which can be moved outside of them.
|
||||
</body>
|
||||
</html>
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
fun foo() {
|
||||
<spot>bar(2) { it * 3 }</spot>
|
||||
}
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
fun foo() {
|
||||
<spot>bar(2, { it * 3 })</spot>
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention moves a lambda expression outside parentheses.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user