https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

coletz

10/22/2018, 8:47 AM
Anyone ever had this runtime error on iOS:
kotlin.NotImplementedError: An operation is not implemented: Intrinsic to be implemented in compiler
?
o

orangy

10/22/2018, 9:13 AM
@olonho #kotlin-native
h

hmole

10/22/2018, 9:17 AM
Are you using
kotlinx.serialization
?
c

coletz

10/22/2018, 9:22 AM
yes, just checked and the exception is thrown at JSON.parse
s

sandwwraith

10/22/2018, 9:25 AM
Obtaining serializer from KClass is not available on native due to the lack of reflection. Use .serializer() directly on serializable class, like here: https://github.com/Kotlin/kotlinx.serialization/blob/50047ce0683c068896e4a57b1a1d71fd28cab02d/docs/runtime_usage.md#obtaining-serializers
🙏 1
11 Views