From 70e4472c99315288196e854801416fe9b21974b2 Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Fri, 23 Jul 2021 12:19:31 +0200 Subject: [PATCH] Update `Fir2IrTextTestGenerated` tests --- .../testData/ir/irText/types/intersectionType1_NI.fir.kt.txt | 2 +- compiler/testData/ir/irText/types/intersectionType1_NI.fir.txt | 2 +- .../testData/ir/irText/types/intersectionType1_OI.fir.kt.txt | 2 +- compiler/testData/ir/irText/types/intersectionType1_OI.fir.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt index 00b80c7c3ab..7aaeee102a3 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_NI.fir.kt.txt @@ -12,7 +12,7 @@ fun select(x: S, y: S): S { } fun foo(a: Array>, b: Array>): Boolean { - return select>>(x = a, y = b).get(index = 0).ofType(y = true) + return select>>(x = a, y = b).get(index = 0).ofType(y = true) } inline fun In.ofType(y: Any?): Boolean { diff --git a/compiler/testData/ir/irText/types/intersectionType1_NI.fir.txt b/compiler/testData/ir/irText/types/intersectionType1_NI.fir.txt index fb21ecf5370..87ffb81379f 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_NI.fir.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_NI.fir.txt @@ -33,7 +33,7 @@ FILE fqName: fileName:/intersectionType1_NI.kt BLOCK_BODY RETURN type=kotlin.Nothing from='public final fun foo (a: kotlin.Array<.In.foo>>, b: kotlin.Array<.In>): kotlin.Boolean declared in ' CALL 'public final fun ofType (y: kotlin.Any?): kotlin.Boolean [inline] declared in ' type=kotlin.Boolean origin=null - : kotlin.Any? + : kotlin.Any $receiver: CALL 'public final fun get (index: kotlin.Int): T of kotlin.Array [operator] declared in kotlin.Array' type=.In origin=null $this: CALL 'public final fun select (x: S of .select, y: S of .select): S of .select declared in ' type=kotlin.Array.In> origin=null : kotlin.Array.In> diff --git a/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt index a0bda919653..ff496baed44 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_OI.fir.kt.txt @@ -12,7 +12,7 @@ fun select(x: S, y: S): S { } fun foo(a: Array>, b: Array>): Boolean { - return select>>(x = a, y = b).get(index = 0).ofType(y = true) + return select>>(x = a, y = b).get(index = 0).ofType(y = true) } inline fun In.ofType(y: Any?): Boolean { diff --git a/compiler/testData/ir/irText/types/intersectionType1_OI.fir.txt b/compiler/testData/ir/irText/types/intersectionType1_OI.fir.txt index f168821a086..37e44e0d26e 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_OI.fir.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_OI.fir.txt @@ -33,7 +33,7 @@ FILE fqName: fileName:/intersectionType1_OI.kt BLOCK_BODY RETURN type=kotlin.Nothing from='public final fun foo (a: kotlin.Array<.In.foo>>, b: kotlin.Array<.In>): kotlin.Boolean declared in ' CALL 'public final fun ofType (y: kotlin.Any?): kotlin.Boolean [inline] declared in ' type=kotlin.Boolean origin=null - : kotlin.Any? + : kotlin.Any $receiver: CALL 'public final fun get (index: kotlin.Int): T of kotlin.Array [operator] declared in kotlin.Array' type=.In origin=null $this: CALL 'public final fun select (x: S of .select, y: S of .select): S of .select declared in ' type=kotlin.Array.In> origin=null : kotlin.Array.In>