diff --git a/compiler/testData/diagnostics/tests/inference/possibleCycleOnConstraints.kt b/compiler/testData/diagnostics/tests/inference/possibleCycleOnConstraints.kt index d9ae91f79f0..db9176965ae 100644 --- a/compiler/testData/diagnostics/tests/inference/possibleCycleOnConstraints.kt +++ b/compiler/testData/diagnostics/tests/inference/possibleCycleOnConstraints.kt @@ -9,5 +9,5 @@ fun test() { val x = g { Collections.emptyList() } val y = g { Collections.emptyList() } - val z : List = g { Collections.emptyList() } + val z : List = g { Collections.emptyList() } } \ No newline at end of file diff --git a/compiler/testData/diagnostics/tests/inference/reportingImprovements/FunctionPlaceholder.kt b/compiler/testData/diagnostics/tests/inference/reportingImprovements/FunctionPlaceholder.kt index 18d0f3a35e1..afc5efa9897 100644 --- a/compiler/testData/diagnostics/tests/inference/reportingImprovements/FunctionPlaceholder.kt +++ b/compiler/testData/diagnostics/tests/inference/reportingImprovements/FunctionPlaceholder.kt @@ -10,7 +10,7 @@ fun test() { foo { x -> x} foo { (x: Int) -> x} - bar { it + 1 } - bar { x -> x + 1} + bar { it + 1 } + bar { x -> x + 1} bar { (x: Int) -> x + 1} -} +} \ No newline at end of file