Kotlin: Remove a redundant ?

This commit is contained in:
Ian Lynagh
2022-09-01 11:55:43 +01:00
parent 6d00860cc1
commit 4f63317369

View File

@@ -1195,7 +1195,7 @@ open class KotlinUsesExtractor(
decl.valueParameters.size == f.valueParameters.size
} ?:
// Or check property accessors:
(f.propertyIfAccessor as? IrProperty?)?.let { kotlinProp ->
(f.propertyIfAccessor as? IrProperty)?.let { kotlinProp ->
val javaProp = javaClass.declarations.findSubType<IrProperty> { decl ->
decl.name == kotlinProp.name
}