Remove descriptors from EnumClassLowering

This commit is contained in:
Georgy Bronnikov
2018-11-27 20:57:06 +03:00
parent 8f6d73fd32
commit 5f4b8dd0aa
2 changed files with 125 additions and 103 deletions
@@ -286,8 +286,8 @@ val IrDeclarationContainer.properties: Sequence<IrProperty>
val IrFunction.explicitParameters: List<IrValueParameter>
get() = (listOfNotNull(dispatchReceiverParameter, extensionReceiverParameter) + valueParameters)
val IrClass.defaultType: IrType
get() = this.thisReceiver!!.type
val IrClass.defaultType: IrSimpleType
get() = this.thisReceiver!!.type as IrSimpleType
val IrSimpleFunction.isReal: Boolean get() = descriptor.kind.isReal