(minor) Suppress a warning about property initialized with ctor param

This commit is contained in:
Sergey Igushkin
2020-06-06 00:30:07 +03:00
parent 66a59df7de
commit 120f77416b
@@ -60,6 +60,7 @@ abstract class AbstractKotlinCompilation<T : KotlinCommonOptions>(
// Don't declare this property in the constructor to avoid NPE
// when an overriding property of a subclass is accessed instead.
@Suppress("CanBePrimaryConstructorProperty")
override val target: KotlinTarget = target
private val attributeContainer = HierarchyAttributeContainer(target.attributes)