```fun cinterops(action: NamedDomainObjectContaine...
# multiplatform
r
Copy code
fun cinterops(action: NamedDomainObjectContainer<DefaultCInteropSettings>.() -> Unit) = cinterops.action()
fun cinterops(action: Action<NamedDomainObjectContainer<DefaultCInteropSettings>>) = action.execute(cinterops)
These functions of
KotlinNativeCompilation
are identical and I can’t call any of them because both match anything I write, any idea?
n
Well, the first one takes a closure and the second takes an object. So not totally identical?
I guess you can distinguish between them by first declaring a constant with an explicit type, rather than inlining.
r
Ok I finally found a way that works
n
Cool. What editor do you use?
r
IntelliJ with Materiel Design UI
n
Thanks.