Implement intention to add labeled return to last expression in a lambda
So #KT-20439 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
769e28519e
commit
59f6dc07cf
+5
@@ -0,0 +1,5 @@
|
||||
fun foo() {
|
||||
listOf(1,2,3).find {
|
||||
<spot>return@find</spot> true
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun foo() {
|
||||
listOf(1,2,3).find {
|
||||
true
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention adds labeled return to last expression in a lambda.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user