diff --git a/compiler/testData/diagnostics/tests/implicitIntersection.txt b/compiler/testData/diagnostics/tests/implicitIntersection.txt index 048080bc5a4..e911069eabe 100644 --- a/compiler/testData/diagnostics/tests/implicitIntersection.txt +++ b/compiler/testData/diagnostics/tests/implicitIntersection.txt @@ -1,7 +1,7 @@ package public fun bar(/*0*/ b: B): kotlin.String -public fun foo(/*0*/ b: B): {C & A & B}? +public fun foo(/*0*/ b: B): {A & C & B}? public fun gav(/*0*/ b: B): A? public interface A { @@ -25,10 +25,10 @@ public interface C { public final class My { public constructor My(/*0*/ b: B) - public final val x: {C & A & B}? + public final val x: {A & C & B}? public final val y: C? public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public final fun foo(/*0*/ b: B): {C & A & B}? + public final fun foo(/*0*/ b: B): {A & C & B}? public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/throwsEffect.kt b/compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/throwsEffect.kt index 5bdcf7e40b3..b7f7e6c24e0 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/throwsEffect.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/throwsEffect.kt @@ -61,5 +61,5 @@ fun testAtLeastOnceFlow(x: Any?) { x.length } while (x != null) - x.length -} \ No newline at end of file + x.length +} diff --git a/idea/testData/codeInsight/expressionType/SoftSmartCastMultipleTypes.kt b/idea/testData/codeInsight/expressionType/SoftSmartCastMultipleTypes.kt index b5843e4c64d..ad9cc703096 100644 --- a/idea/testData/codeInsight/expressionType/SoftSmartCastMultipleTypes.kt +++ b/idea/testData/codeInsight/expressionType/SoftSmartCastMultipleTypes.kt @@ -10,4 +10,4 @@ fun fn(value: Any) { } } -// TYPE: value -> A & B (smart cast from Any) +// TYPE: value -> B & A (smart cast from Any)