Skip to content

Commit 99e3cee

Browse files
committed
Update codegen test IR dumps for Kotlin 2.1.20-Beta1
1 parent 3a74f8c commit 99e3cee

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

kmp-nativecoroutines-compiler/src/testData/codegen/coroutinescope.fir.ir.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ FILE fqName:<root> fileName:/coroutinescope1.kt
4545
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass1 [primary]
4646
BLOCK_BODY
4747
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
48-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass1 modality:OPEN visibility:public superTypes:[kotlin.Any]'
48+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass1 modality:OPEN visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
4949
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
5050
overridden:
5151
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -104,7 +104,7 @@ FILE fqName:<root> fileName:/coroutinescope1.kt
104104
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass2 [primary]
105105
BLOCK_BODY
106106
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.MyClass1'
107-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass2 modality:FINAL visibility:public superTypes:[<root>.MyClass1]'
107+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass2 modality:FINAL visibility:public superTypes:[<root>.MyClass1]' type=kotlin.Unit
108108
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
109109
overridden:
110110
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.MyClass1
@@ -178,7 +178,7 @@ FILE fqName:<root> fileName:/coroutinescope1.kt
178178
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass3 [primary]
179179
BLOCK_BODY
180180
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.MyClass1'
181-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass3 modality:FINAL visibility:public superTypes:[<root>.MyClass1]'
181+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass3 modality:FINAL visibility:public superTypes:[<root>.MyClass1]' type=kotlin.Unit
182182
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
183183
overridden:
184184
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.MyClass1
@@ -244,7 +244,7 @@ FILE fqName:<root> fileName:/coroutinescope1.kt
244244
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass4 [primary]
245245
BLOCK_BODY
246246
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
247-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass4 modality:FINAL visibility:public superTypes:[kotlin.Any]'
247+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass4 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
248248
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
249249
overridden:
250250
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -308,7 +308,7 @@ FILE fqName:<root> fileName:/coroutinescope2.kt
308308
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass5 [primary]
309309
BLOCK_BODY
310310
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
311-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass5 modality:FINAL visibility:public superTypes:[kotlin.Any]'
311+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass5 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
312312
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
313313
overridden:
314314
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -369,7 +369,7 @@ FILE fqName:<root> fileName:/coroutinescope2.kt
369369
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass6 [primary]
370370
BLOCK_BODY
371371
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
372-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass6 modality:OPEN visibility:public superTypes:[kotlin.Any]'
372+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass6 modality:OPEN visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
373373
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
374374
overridden:
375375
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -413,7 +413,7 @@ FILE fqName:<root> fileName:/coroutinescope2.kt
413413
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass7 [primary]
414414
BLOCK_BODY
415415
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.MyClass6'
416-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass7 modality:FINAL visibility:public superTypes:[<root>.MyClass6]'
416+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass7 modality:FINAL visibility:public superTypes:[<root>.MyClass6]' type=kotlin.Unit
417417
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
418418
overridden:
419419
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.MyClass6

kmp-nativecoroutines-compiler/src/testData/codegen/functions.fir.ir.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FILE fqName:<root> fileName:/functions.kt
1717
VALUE_PARAMETER name:value index:0 type:T of <root>.MyClass14
1818
BLOCK_BODY
1919
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
20-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass14 modality:FINAL visibility:public superTypes:[kotlin.Any]'
20+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass14 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
2121
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
2222
overridden:
2323
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -61,7 +61,7 @@ FILE fqName:<root> fileName:/functions.kt
6161
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass16 [primary]
6262
BLOCK_BODY
6363
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
64-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass16 modality:FINAL visibility:public superTypes:[kotlin.Any]'
64+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass16 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
6565
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
6666
overridden:
6767
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -120,7 +120,7 @@ FILE fqName:<root> fileName:/functions.kt
120120
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass20 [primary]
121121
BLOCK_BODY
122122
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
123-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass20 modality:FINAL visibility:public superTypes:[kotlin.Any]'
123+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass20 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
124124
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
125125
overridden:
126126
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -167,7 +167,7 @@ FILE fqName:<root> fileName:/functions.kt
167167
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass21<T of <root>.MyClass21> [primary]
168168
BLOCK_BODY
169169
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
170-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass21 modality:FINAL visibility:public superTypes:[kotlin.Any]'
170+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass21 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
171171
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
172172
overridden:
173173
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -210,7 +210,7 @@ FILE fqName:<root> fileName:/functions.kt
210210
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass22 [primary]
211211
BLOCK_BODY
212212
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
213-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass22 modality:FINAL visibility:public superTypes:[<root>.MyInterface22]'
213+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass22 modality:FINAL visibility:public superTypes:[<root>.MyInterface22]' type=kotlin.Unit
214214
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
215215
overridden:
216216
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.MyInterface22
@@ -244,7 +244,7 @@ FILE fqName:<root> fileName:/functions.kt
244244
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass8 [primary]
245245
BLOCK_BODY
246246
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
247-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass8 modality:FINAL visibility:public superTypes:[kotlin.Any]'
247+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass8 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
248248
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
249249
overridden:
250250
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
@@ -296,7 +296,7 @@ FILE fqName:<root> fileName:/functions.kt
296296
VALUE_PARAMETER name:value2 index:1 type:T2 of <root>.MyFlow23
297297
BLOCK_BODY
298298
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
299-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyFlow23 modality:FINAL visibility:public superTypes:[kotlinx.coroutines.flow.Flow<T2 of <root>.MyFlow23>]'
299+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyFlow23 modality:FINAL visibility:public superTypes:[kotlinx.coroutines.flow.Flow<T2 of <root>.MyFlow23>]' type=kotlin.Unit
300300
FUN DELEGATED_MEMBER name:collect visibility:public modality:OPEN <> ($this:<root>.MyFlow23<T1 of <root>.MyFlow23, T2 of <root>.MyFlow23>, collector:kotlinx.coroutines.flow.FlowCollector<T2 of <root>.MyFlow23>) returnType:kotlin.Unit [suspend]
301301
overridden:
302302
public abstract fun collect (collector: kotlinx.coroutines.flow.FlowCollector<T of kotlinx.coroutines.flow.Flow>): kotlin.Unit declared in kotlinx.coroutines.flow.Flow

kmp-nativecoroutines-compiler/src/testData/codegen/properties.fir.ir.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ FILE fqName:<root> fileName:/properties.kt
199199
CONSTRUCTOR visibility:public <> () returnType:<root>.MyClass28 [primary]
200200
BLOCK_BODY
201201
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
202-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass28 modality:FINAL visibility:public superTypes:[<root>.MyInterface28]'
202+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyClass28 modality:FINAL visibility:public superTypes:[<root>.MyInterface28]' type=kotlin.Unit
203203
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
204204
overridden:
205205
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.MyInterface28
@@ -237,7 +237,7 @@ FILE fqName:<root> fileName:/properties.kt
237237
VALUE_PARAMETER name:value2 index:1 type:T2 of <root>.MyFlow29
238238
BLOCK_BODY
239239
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
240-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyFlow29 modality:FINAL visibility:public superTypes:[kotlinx.coroutines.flow.Flow<T2 of <root>.MyFlow29?>]'
240+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyFlow29 modality:FINAL visibility:public superTypes:[kotlinx.coroutines.flow.Flow<T2 of <root>.MyFlow29?>]' type=kotlin.Unit
241241
FUN DELEGATED_MEMBER name:collect visibility:public modality:OPEN <> ($this:<root>.MyFlow29<T1 of <root>.MyFlow29, T2 of <root>.MyFlow29>, collector:kotlinx.coroutines.flow.FlowCollector<T2 of <root>.MyFlow29?>) returnType:kotlin.Unit [suspend]
242242
overridden:
243243
public abstract fun collect (collector: kotlinx.coroutines.flow.FlowCollector<T of kotlinx.coroutines.flow.Flow>): kotlin.Unit declared in kotlinx.coroutines.flow.Flow
@@ -279,7 +279,7 @@ FILE fqName:<root> fileName:/properties.kt
279279
VALUE_PARAMETER name:value index:0 type:T of <root>.MyGenericClass1
280280
BLOCK_BODY
281281
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
282-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyGenericClass1 modality:FINAL visibility:public [data] superTypes:[kotlin.Any]'
282+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyGenericClass1 modality:FINAL visibility:public [data] superTypes:[kotlin.Any]' type=kotlin.Unit
283283
FUN GENERATED_DATA_CLASS_MEMBER name:component1 visibility:public modality:FINAL <> ($this:<root>.MyGenericClass1<T of <root>.MyGenericClass1>) returnType:T of <root>.MyGenericClass1 [operator]
284284
$this: VALUE_PARAMETER name:<this> type:<root>.MyGenericClass1<T of <root>.MyGenericClass1>
285285
BLOCK_BODY
@@ -437,7 +437,7 @@ FILE fqName:<root> fileName:/properties.kt
437437
VALUE_PARAMETER name:value index:0 type:T of <root>.MyGenericClass2
438438
BLOCK_BODY
439439
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
440-
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyGenericClass2 modality:FINAL visibility:public superTypes:[kotlin.Any]'
440+
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:MyGenericClass2 modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
441441
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
442442
overridden:
443443
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any

0 commit comments

Comments
 (0)