From 0ba163d70b958a59f45f2152e9a098927ea2bbb7 Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Wed, 13 Mar 2019 11:43:16 +0300 Subject: [PATCH] [NI] Fix testdata of inference lambdas with SAM conversions Tetdata was broken in 3e147af3c031e7b7d180415cd4e7c8c9f39001ef #KT-27565 related --- .../testsWithStdLib/resolve/samAgainstFunctionalType.kt | 4 ++-- .../testsWithStdLib/resolve/samOverloadsWithGenerics.kt | 2 +- .../resolve/samOverloadsWithGenericsWithoutRefinedSams.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/testData/diagnostics/testsWithStdLib/resolve/samAgainstFunctionalType.kt b/compiler/testData/diagnostics/testsWithStdLib/resolve/samAgainstFunctionalType.kt index ecf9528902f..07800865910 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/resolve/samAgainstFunctionalType.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/resolve/samAgainstFunctionalType.kt @@ -24,7 +24,7 @@ public class StaticOverrides { // FILE: test.kt fun test() { - StaticOverrides.A.foo {} checkType { _() } + StaticOverrides.A.foo {} checkType { _() } StaticOverrides.B.foo {} checkType { _() } - StaticOverrides.C.foo {} checkType { _() } + StaticOverrides.C.foo {} checkType { _() } } \ No newline at end of file diff --git a/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenerics.kt b/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenerics.kt index 1eede6d5efe..91d34f27ca1 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenerics.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenerics.kt @@ -20,6 +20,6 @@ class Foo { // FILE: 1.kt fun test() { - Foo().foo {} checkType { _() } + Foo().foo {} checkType { _() } Foo().bar {} checkType { _() } } \ No newline at end of file diff --git a/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenericsWithoutRefinedSams.kt b/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenericsWithoutRefinedSams.kt index cdbae7fb461..6d37ea85e0a 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenericsWithoutRefinedSams.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/resolve/samOverloadsWithGenericsWithoutRefinedSams.kt @@ -21,6 +21,6 @@ class Foo { // FILE: 1.kt fun test() { - Foo().foo {} checkType { _() } + Foo().foo {} checkType { _() } Foo().bar {} checkType { _() } } \ No newline at end of file