From 5a0b786cb9b808b1e217b0804107dbbb2c1b0c6f Mon Sep 17 00:00:00 2001 From: Alexey Sedunov Date: Thu, 18 Sep 2014 17:36:48 +0400 Subject: [PATCH] Extract Function: Fix syntax error in test --- .../evaluateExpression/trailingLambdaNonEmptyArgList.kt | 2 +- .../evaluateExpression/trailingLambdaNonEmptyArgList.kt.after | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt b/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt index be50018ca90..bf7c7cc7ff7 100644 --- a/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt +++ b/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt @@ -1,4 +1,4 @@ -fun Array.check(a: Int, b: Int f: (T) -> Boolean): Boolean = false +fun Array.check(a: Int, b: Int, f: (T) -> Boolean): Boolean = false // SIBLING: fun foo(t: Array) { diff --git a/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt.after b/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt.after index d8fbe125f6e..08b20b64d6c 100644 --- a/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt.after +++ b/idea/testData/refactoring/extractFunction/controlFlow/evaluateExpression/trailingLambdaNonEmptyArgList.kt.after @@ -1,4 +1,4 @@ -fun Array.check(a: Int, b: Int f: (T) -> Boolean): Boolean = false +fun Array.check(a: Int, b: Int, f: (T) -> Boolean): Boolean = false // SIBLING: fun foo(t: Array) {