use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
fun f(<!UNUSED_PARAMETER!>i<!>: Int) {
|
||||
for (j in 1..100) {
|
||||
<!UNUSED_FUNCTION_LITERAL!>{
|
||||
<!UNUSED_LAMBDA_EXPRESSION!>{
|
||||
var <!NAME_SHADOWING, UNUSED_VARIABLE!>i<!> = 12
|
||||
}<!>
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
fun ff(): Int {
|
||||
var i = 1
|
||||
<!UNUSED_FUNCTION_LITERAL!>{
|
||||
<!UNUSED_LAMBDA_EXPRESSION!>{
|
||||
val <!NAME_SHADOWING, UNUSED_VARIABLE!>i<!> = 2
|
||||
}<!>
|
||||
return i
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun f(): Int {
|
||||
var i = 17
|
||||
<!UNUSED_FUNCTION_LITERAL!>{ var <!NAME_SHADOWING, UNUSED_VARIABLE!>i<!> = 18 }<!>
|
||||
<!UNUSED_LAMBDA_EXPRESSION!>{ var <!NAME_SHADOWING, UNUSED_VARIABLE!>i<!> = 18 }<!>
|
||||
return i
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun ff(): Int {
|
||||
var i = 1
|
||||
<!UNUSED_FUNCTION_LITERAL!>{ i: Int -> i }<!>
|
||||
<!UNUSED_LAMBDA_EXPRESSION!>{ i: Int -> i }<!>
|
||||
return i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user