use terms "lambda expression" and "anonymous function" instead of "function literal" and "function expression"
This commit is contained in:
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Remove identifier from function expression" "true"
|
||||
// "Remove identifier from anonymous function" "true"
|
||||
|
||||
fun foo() {
|
||||
(bar@ fun() {
|
||||
|
||||
Reference in New Issue
Block a user