juancho
02/16/2019, 4:14 AM@Throws
that has to be implemented in native with the native throws and same for jvm. I tried to follow this solution but without luck:
https://github.com/JetBrains/kotlin-native/issues/2122#issuecomment-424031011
common:
@Target(AnnotationTarget.FUNCTION)
expect annotation class Throws()
jvm:
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CONSTRUCTOR)
@Retention(AnnotationRetention.SOURCE)
actual annotation class Throws actual constructor()
native: