From f752527e4869082a762dc5d9d123dfd8ad4dfb88 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Wed, 5 Mar 2014 12:02:14 +0400 Subject: [PATCH] Test data fixed after adding a new intention --- .../beforeChangeFunctionParameterType4.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt index bda9464e2bc..4337bfe4590 100644 --- a/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt +++ b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt @@ -1,5 +1,10 @@ // "Change parameter 'z' type of function 'foo' to '(Int) -> String'" "false" // ERROR: Type mismatch.
Required:kotlin.Int
Found:kotlin.String
+ +// 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 { "": Int