Add resources-en for idea
#KT-38297 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
fun foo(f: () -> Int) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun main(args: String) {
|
||||
foo { 1 }
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
fun foo(f: () -> Int) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun main(args: String) {
|
||||
foo(fun(): Int {
|
||||
return 1
|
||||
})
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts an anonymous function in a call to a lambda expression.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user