use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"

This commit is contained in:
Dmitry Jemerov
2015-12-08 16:31:01 +01:00
parent 9a01c0d9cb
commit e97e82d119
44 changed files with 80 additions and 80 deletions
@@ -1,12 +1,12 @@
fun unusedLiteral(){
<!UNUSED_FUNCTION_LITERAL!>{ ->
<!UNUSED_LAMBDA_EXPRESSION!>{ ->
val <!UNUSED_VARIABLE!>i<!> = 1
}<!>
}
fun unusedLiteralInDoWhile(){
do<!UNUSED_FUNCTION_LITERAL!>{ ->
do<!UNUSED_LAMBDA_EXPRESSION!>{ ->
val <!UNUSED_VARIABLE!>i<!> = 1
}<!> while(false)
}
@@ -1,6 +1,6 @@
fun main(args: Array<String>) {
"".run {
<!UNUSED_FUNCTION_LITERAL!>{}<!>
<!UNUSED_LAMBDA_EXPRESSION!>{}<!>
}
}