Fix compiler warnings and some inspections

This commit is contained in:
Alexander Udalov
2020-11-02 09:53:21 +01:00
parent e5d5c20473
commit b3e79d36df
29 changed files with 62 additions and 118 deletions
@@ -94,7 +94,7 @@ interface IrBuilderExtension {
irInvoke(
dispatchReceiver,
callee,
args = valueArguments.toTypedArray(),
*valueArguments.toTypedArray(),
typeHint = returnTypeHint
).also { call -> typeArguments.forEachIndexed(call::putTypeArgument) }
@@ -372,7 +372,6 @@ open class SerializerCodegenImpl(
for ((index, property) in serializableProperties.withIndex()) {
val propertyType = codegen.typeMapper.mapType(property.type)
if (!property.transient) {
val propertyAddressInBitMask = bitMaskOff(index)
// labelI:
visitLabel(labels[labelNum + 1])
callReadProperty(property, propertyType, index, inputVar, descVar, propVar)