I have create a class which is a subclass of NSNum...
# kotlin-native
l
I have create a class which is a subclass of NSNumber and I export it to Kotlin. When I invoke that object method , I found the type in runtime is changed to a class which is auto generated by kotlin multiplatform instead of my class. But if I let that class inherit from NSObject, everything will be all right. I wonder to know, what happened when I made it inherit from NSNumber.
a
Hello, @linjipeng Is this the same problem that described at https://youtrack.jetbrains.com/issue/KT-48379?
l
Yes, this is the same issue I have produced.