Also, if JetBrains is looking, I've tried to port ...
# kodein
s
Also, if JetBrains is looking, I've tried to port Kodein to Kotlin Native, but unfortunately, Kotlin Native is not advanced enough to support Kodein 😞 I've documented the needed missing features here: https://github.com/SalomonBrys/Kodein/tree/master/kodein-native . I hope to be able to propose Kodein to Kotlin Native soon 🙂
b
сс @olonho
o
so actually what’s missing is mostly
T::class
? Guess
@Volatile
can be treated as NOP, not sure if anything special needed for
DslMarker
s
@olonho Yep, mainly
T::class
. The simplest implementation should do, as long as
T::class == T::class
and
T::class != U::class
.
@Volatile
and
@DslMarker
can both be treated as Noop. I tried to emulate them (as I emulated
java.util.Arrays
and
java.io.Serializable
) but Kotlin does not allow to add anything in the
kotlin
package so no luck 😞.
o
Make sense, we will take a look on adding class support