ldavin
11/22/2018, 10:07 AMThrows annotation that’ll work on a native (ios) target ? I’m thinking of something like org.jetbrains.kotlin:kotlin-stdlib-nativespand
11/22/2018, 10:22 AMThrows annotation here: https://github.com/JetBrains/kotlin-native/blob/master/Interop/Runtime/src/native/kotlin/kotlinx/cinterop/ObjectiveCImpl.ktspand
11/22/2018, 10:22 AMBrian
11/22/2018, 10:27 AM@Throws seems to be JVM-specific: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-throws/index.htmlldavin
11/22/2018, 10:31 AMBrian
11/22/2018, 10:33 AMBrian
11/22/2018, 10:35 AMldavin
11/22/2018, 10:35 AMldavin
11/22/2018, 10:37 AMkotlin.native package from my native target, so I guess i’m missing an implementation 'xxx'kpgalligan
11/22/2018, 11:35 AMldavin
11/22/2018, 12:37 PMldavin
11/22/2018, 12:38 PMldavin
11/22/2018, 12:39 PMactual typealias Throws = kotlin.native.Throws in both iosArm64 and iosX64 ¯\_(ツ)_/¯thevery
11/22/2018, 3:35 PMconfigure([ios32Main, iosSimMain]) {
dependsOn iosMain
}
and actual for iosMainldavin
11/22/2018, 4:39 PMkotlin.native.* from my iosMain