egorand
02/08/2018, 9:43 PMexpect interface Cloneable
into the common module and typealias
it to kotlin.Cloneable
(which for some reason is in JVM artifact only), and I'm getting the following error:
Actual class 'Cloneable' has no corresponding members for expected class members:
public abstract expect fun clone(): Any
The following declaration is incompatible because modality is different:
protected open fun clone(): Any
Any idea why the clone()
method shows up as protected
?