[FIR2IR] KT-57211: Support unsigned arrayOf-s in fir2ir
^KT-57211 Fixed Merge-request: KT-MR-9294 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
a5e5e093c3
commit
505edb9746
@@ -467,6 +467,10 @@ class IrBuiltInsOverFir(
|
||||
}.toMap()
|
||||
}
|
||||
|
||||
override val unsignedArraysElementTypes: Map<IrClassSymbol, IrType?> by lazy {
|
||||
unsignedTypesToUnsignedArrays.map { (k,v) -> v to referenceClassByClassId(k.classId)?.owner?.defaultType }.toMap()
|
||||
}
|
||||
|
||||
override fun getKPropertyClass(mutable: Boolean, n: Int): IrClassSymbol = when (n) {
|
||||
0 -> if (mutable) kMutableProperty0Class else kProperty0Class
|
||||
1 -> if (mutable) kMutableProperty1Class else kProperty1Class
|
||||
|
||||
Reference in New Issue
Block a user