FIR: Add missing iterator function to array types in IrBuiltInsOverFir

Fixes part of KT-57627
This commit is contained in:
Steven Schäfer
2022-11-15 18:50:32 +01:00
committed by Space Team
parent c695da1bed
commit 37bbf447a3
13 changed files with 265 additions and 15 deletions
@@ -0,0 +1,32 @@
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:IntArray modality:FINAL visibility:public superTypes:[kotlin.Any; kotlin.Cloneable; java.io.Serializable]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:kotlin.IntArray
CONSTRUCTOR BUILTIN_CLASS_CONSTRUCTOR visibility:public <> (size:kotlin.Int) returnType:kotlin.IntArray [primary]
VALUE_PARAMETER BUILTIN_CLASS_CONSTRUCTOR name:size index:0 type:kotlin.Int
FUN BUILTIN_CLASS_METHOD name:get visibility:public modality:FINAL <> ($this:kotlin.IntArray, index:kotlin.Int) returnType:kotlin.Int [operator]
$this: VALUE_PARAMETER name:$this type:kotlin.IntArray
VALUE_PARAMETER BUILTIN_CLASS_METHOD name:index index:0 type:kotlin.Int
FUN BUILTIN_CLASS_METHOD name:set visibility:public modality:FINAL <> ($this:kotlin.IntArray, index:kotlin.Int, value:kotlin.Int) returnType:kotlin.Unit [operator]
$this: VALUE_PARAMETER name:$this type:kotlin.IntArray
VALUE_PARAMETER BUILTIN_CLASS_METHOD name:index index:0 type:kotlin.Int
VALUE_PARAMETER BUILTIN_CLASS_METHOD name:value index:1 type:kotlin.Int
PROPERTY name:size visibility:public modality:FINAL [val]
FUN name:<get-size> visibility:public modality:FINAL <> ($this:kotlin.IntArray) returnType:kotlin.Int
correspondingProperty: PROPERTY name:size visibility:public modality:FINAL [val]
$this: VALUE_PARAMETER name:$this type:kotlin.IntArray
FUN BUILTIN_CLASS_METHOD name:iterator visibility:public modality:FINAL <> ($this:kotlin.IntArray) returnType:kotlin.collections.IntIterator [operator]
annotations:
IntrinsicConstEvaluation
$this: VALUE_PARAMETER name:$this type:kotlin.IntArray
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any
$this: VALUE_PARAMETER name:$this type:kotlin.Any
VALUE_PARAMETER BUILTIN_CLASS_METHOD name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
$this: VALUE_PARAMETER name:$this type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:$this type:kotlin.Any