IR: IrConstructorCall: fixes after rebase
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ import org.jetbrains.org.objectweb.asm.Type
|
||||
|
||||
//Hack implementation to support CR java types in lower
|
||||
class CrIrType(val type: Type) : IrType {
|
||||
override val annotations: List<IrCall> = emptyList()
|
||||
override val annotations: List<IrConstructorCall> = emptyList()
|
||||
|
||||
override fun equals(other: Any?): Boolean =
|
||||
other is CrIrType && type == other.type
|
||||
|
||||
@@ -12,6 +12,7 @@ import org.jetbrains.kotlin.ir.declarations.IrDeclarationOrigin
|
||||
import org.jetbrains.kotlin.ir.declarations.IrField
|
||||
import org.jetbrains.kotlin.ir.declarations.IrProperty
|
||||
import org.jetbrains.kotlin.ir.expressions.IrCall
|
||||
import org.jetbrains.kotlin.ir.expressions.IrConstructorCall
|
||||
import org.jetbrains.kotlin.ir.expressions.IrExpressionBody
|
||||
import org.jetbrains.kotlin.ir.expressions.impl.IrExpressionBodyImpl
|
||||
import org.jetbrains.kotlin.ir.symbols.IrFieldSymbol
|
||||
@@ -61,7 +62,7 @@ class IrLazyField(
|
||||
symbol.bind(this)
|
||||
}
|
||||
|
||||
override val annotations: MutableList<IrCall> = mutableListOf()
|
||||
override val annotations: MutableList<IrConstructorCall> = mutableListOf()
|
||||
|
||||
override val descriptor: PropertyDescriptor = symbol.descriptor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user