From c52f69538d8d81634816ad2fef5fc1fc3994827a Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Wed, 29 Apr 2015 12:13:50 +0300 Subject: [PATCH] Fixed test data --- .../parameterTypeMismatch/beforeChangeFunctionParameterType4.kt | 2 -- .../beforeDontChangeFunctionReturnTypeToErrorType.kt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt index c6c482f82ee..c358f791ec9 100644 --- a/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt +++ b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt @@ -1,8 +1,6 @@ // "Change parameter 'z' type of function 'foo' to '(Int) -> String'" "false" -// ACTION: Disable 'Move Lambda Function Into Parentheses' // ACTION: Edit intention settings -// ACTION: Move lambda function into parentheses fun foo(y: Int = 0, z: (Int) -> String = {""}) { foo { diff --git a/idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeDontChangeFunctionReturnTypeToErrorType.kt b/idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeDontChangeFunctionReturnTypeToErrorType.kt index 0559552e406..08521457d70 100644 --- a/idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeDontChangeFunctionReturnTypeToErrorType.kt +++ b/idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeDontChangeFunctionReturnTypeToErrorType.kt @@ -5,7 +5,7 @@ // ACTION: Create class 'NoSuchType' // ACTION: Create enum 'NoSuchType' // ACTION: Create trait 'NoSuchType' -// ACTION: Make types implicit in lambda (may break code) +// ACTION: Remove explicit lambda parameter types (may break code) // ERROR: Type mismatch.
Required:kotlin.Int
Found:([ERROR : NoSuchType]) → kotlin.Int
// ERROR: Unresolved reference: NoSuchType