https://kotlinlang.org logo
d

Davide Giuseppe Farella

01/21/2019, 10:27 AM
I’m looking at the docs of
KFunction
and I’m wondering why only Jvm has
instanceParameter
and
valueParameters
. How does that work on Native? Should I suppose all the
parameters
are valueParameters or maybe it’s just not implemented yet and I should distinct them by myself ( how? ) ? P.S. I don’t know much about Native, that’s the reason of the dumb question
u

udalov

01/24/2019, 5:53 PM
Reflection is basically not supported in Native yet, except basic things like
KClass.simpleName
I think
d

Davide Giuseppe Farella

01/24/2019, 5:59 PM
Oh, ok, so that’s the reason; but its a little weird since my common code makes heavy usage of reflection 😄 ( didn’t run yet on native target, but APIs are there 😄 )
3 Views