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,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
// DISABLE-ERRORS
fun f(x: Int, y: Int, z : () -> Int) {
@@ -1,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
// DISABLE-ERRORS
fun f(x: Int, y: Int, z : () -> Int) {
@@ -1,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
// DISABLE-ERRORS
fun f(x: Int, y: Int, z : (Int, Int?, Any) -> Int) {
@@ -1,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
// DISABLE-ERRORS
fun f(x: Int, y: Int, z : (Int, Int?, Any) -> Int) {
@@ -1,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
fun foo(f: Int.(Int, Int) -> Int) {
@@ -1,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
fun foo(f: Int.(Int, Int) -> Int) {
@@ -1,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
// DISABLE-ERRORS
fun main(args: Array<String>) {
@@ -1,4 +1,4 @@
// "Change the signature of function literal" "true"
// "Change the signature of lambda expression" "true"
// DISABLE-ERRORS
fun main(args: Array<String>) {
@@ -1,4 +1,4 @@
// "Remove identifier from function expression" "true"
// "Remove identifier from anonymous function" "true"
fun foo() {
(fun bar<caret>() {
@@ -1,4 +1,4 @@
// "Remove identifier from function expression" "true"
// "Remove identifier from anonymous function" "true"
fun foo() {
(bar@ fun() {