diff --git a/compiler/testData/diagnostics/tests/functionLiterals/assignmentOperationInLambdaWithExpectedType.kt b/compiler/testData/diagnostics/tests/functionLiterals/assignmentOperationInLambdaWithExpectedType.kt index e44e703c4bb..27e90c69698 100644 --- a/compiler/testData/diagnostics/tests/functionLiterals/assignmentOperationInLambdaWithExpectedType.kt +++ b/compiler/testData/diagnostics/tests/functionLiterals/assignmentOperationInLambdaWithExpectedType.kt @@ -7,7 +7,7 @@ fun test(bal: Array) { val c: () -> UNRESOLVED = { bal[2] = 3 } - val d: () -> Int = { bar += 4 } + val d: () -> Int = { bar += 4 } val e: Unit = run { bar += 4 } diff --git a/compiler/testData/diagnostics/tests/generics/projectionsScope/addAll.kt b/compiler/testData/diagnostics/tests/generics/projectionsScope/addAll.kt index 484074fe096..34d76502651 100644 --- a/compiler/testData/diagnostics/tests/generics/projectionsScope/addAll.kt +++ b/compiler/testData/diagnostics/tests/generics/projectionsScope/addAll.kt @@ -14,14 +14,14 @@ fun mc(): MC = null!! fun c(): C = null!! fun foo(x: MC) { - x.addAll(; MC; MC; public abstract fun addAll\(x: C\): kotlin.Boolean defined in MC)!>x) - x.addAllMC(; MC; MC; public abstract fun addAllMC\(x: MC\): kotlin.Boolean defined in MC)!>x) + x.addAll(; MC; MC; public abstract fun addAll\(x: C\): Boolean defined in MC)!>x) + x.addAllMC(; MC; MC; public abstract fun addAllMC\(x: MC\): Boolean defined in MC)!>x) - x.addAll(; MC; MC; public abstract fun addAll\(x: C\): kotlin.Boolean defined in MC)!>mc()) - x.addAllMC(; MC; MC; public abstract fun addAllMC\(x: MC\): kotlin.Boolean defined in MC)!>mc()) + x.addAll(; MC; MC; public abstract fun addAll\(x: C\): Boolean defined in MC)!>mc()) + x.addAllMC(; MC; MC; public abstract fun addAllMC\(x: MC\): Boolean defined in MC)!>mc()) - x.addAll(; MC; MC; public abstract fun addAll\(x: C\): kotlin.Boolean defined in MC)!>mc()) - x.addAllMC(; MC; MC; public abstract fun addAllMC\(x: MC\): kotlin.Boolean defined in MC)!>mc()) + x.addAll(; MC; MC; public abstract fun addAll\(x: C\): Boolean defined in MC)!>mc()) + x.addAllMC(; MC; MC; public abstract fun addAllMC\(x: MC\): Boolean defined in MC)!>mc()) x.addAll(c()) x.addAll(c()) diff --git a/compiler/testData/diagnostics/tests/generics/projectionsScope/projectedOutConventions.kt b/compiler/testData/diagnostics/tests/generics/projectionsScope/projectedOutConventions.kt index 21fd8ad5a84..0732c604eb1 100644 --- a/compiler/testData/diagnostics/tests/generics/projectionsScope/projectedOutConventions.kt +++ b/compiler/testData/diagnostics/tests/generics/projectionsScope/projectedOutConventions.kt @@ -7,7 +7,7 @@ class A { } fun test(a: A) { - a defined in A; A)!>+ "" - )!>a[1] = "" - )!>a[""] + a defined in A; A)!>+ "" + )!>a[1] = "" + )!>a[""] } diff --git a/compiler/testData/diagnostics/tests/inference/capturedTypes/expectedTypeMismatchWithInVariance.kt b/compiler/testData/diagnostics/tests/inference/capturedTypes/expectedTypeMismatchWithInVariance.kt index 7ae561ce4d3..9b18b7171bf 100644 --- a/compiler/testData/diagnostics/tests/inference/capturedTypes/expectedTypeMismatchWithInVariance.kt +++ b/compiler/testData/diagnostics/tests/inference/capturedTypes/expectedTypeMismatchWithInVariance.kt @@ -4,6 +4,6 @@ fun foo(a1: Array, a2: Array): T = null!! fun test(a1: Array, a2: Array) { - val c: Int = foo(a1, a2) + val c: Int = foo(a1, a2) } diff --git a/compiler/testData/diagnostics/tests/secondaryConstructors/generics2.kt b/compiler/testData/diagnostics/tests/secondaryConstructors/generics2.kt index 03dbd57b149..11f0ab82b12 100644 --- a/compiler/testData/diagnostics/tests/secondaryConstructors/generics2.kt +++ b/compiler/testData/diagnostics/tests/secondaryConstructors/generics2.kt @@ -13,14 +13,14 @@ class A0 { class A1 : B { constructor(x: T1, y: T2): super(x, y) - constructor(x: T1, y: Int): super(x, y) + constructor(x: T1, y: Int): super(x, y) constructor(x: T1, y: T1, z: T1): super(x, y) } class A2 : B { - constructor(x: T1, y: T2): super(x, y) + constructor(x: T1, y: T2): super(x, y) constructor(x: T1, y: Int): super(x, y) - constructor(x: T1, y: T1, z: T1): super(x, y) + constructor(x: T1, y: T1, z: T1): super(x, y) constructor(x: T1, y: T2, z: String): super(y, 1) }