diff --git a/compiler/testData/diagnostics/tests/smartCasts/inference/kt25432.kt b/compiler/testData/diagnostics/tests/smartCasts/inference/kt25432.kt index 053c23e3092..1899bc29b10 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/inference/kt25432.kt +++ b/compiler/testData/diagnostics/tests/smartCasts/inference/kt25432.kt @@ -5,7 +5,7 @@ class Data(val s: T) fun test(d: Data) { if (d.s is String) { - d.s.length + d.s.length } } diff --git a/compiler/testData/diagnostics/tests/typeParameters/implicitNothingAsTypeParameter.kt b/compiler/testData/diagnostics/tests/typeParameters/implicitNothingAsTypeParameter.kt index 3e7657019bf..9751ede91ab 100644 --- a/compiler/testData/diagnostics/tests/typeParameters/implicitNothingAsTypeParameter.kt +++ b/compiler/testData/diagnostics/tests/typeParameters/implicitNothingAsTypeParameter.kt @@ -91,9 +91,9 @@ interface Worker interface RenderContext val emptyOrNull: List? = null -val x = emptyOrNull?.get(0) +val x = emptyOrNull?.get(0) -val errorCompletion = { e: Throwable -> throw Exception() } +val errorCompletion = { e: Throwable -> throw Exception() } fun test1() { errorCompletion(Exception("fail")) diff --git a/compiler/testData/diagnostics/tests/when/withSubjectVariable/smartCastOnValueBoundToSubjectVariable.kt b/compiler/testData/diagnostics/tests/when/withSubjectVariable/smartCastOnValueBoundToSubjectVariable.kt index 87ffe272222..760822a5509 100644 --- a/compiler/testData/diagnostics/tests/when/withSubjectVariable/smartCastOnValueBoundToSubjectVariable.kt +++ b/compiler/testData/diagnostics/tests/when/withSubjectVariable/smartCastOnValueBoundToSubjectVariable.kt @@ -44,6 +44,6 @@ fun test5(x: Inv) { fun test6(x: Inv) { when (val y = x.data) { - is String -> x.data.length // should be ok + is String -> x.data.length // should be ok } } \ No newline at end of file