https://kotlinlang.org logo
Title
m

MarkRS

08/12/2021, 3:49 PM
Why are KaMPKit/shared/src/androidMain/kotlin/co/touchlab/kampkit/*PlatformAndroid.kt* and KaMPKit/shared/src/iosMain/kotlin/co/touchlab/kampkit/*PlatformiOS.kt identical?* Doesn't this mean they could/should be in commonMain? Or does this mean I've misunderstood something fundamental?
r

russhwolf

08/12/2021, 3:59 PM
Yeah those can probably be removed. There used to be more stuff in there but it's all moved into common over time. And I think stack trace stuff is in the common stdlib too. But note that even if the contents are identical, sometimes you still need stuff like that duplicated across source-sets, for instance if it's missing from JS
m

MarkRS

08/12/2021, 4:09 PM
Err, yes... errr. whut? No, I don't understand. Also, since it's an example project it would be good to have something that does fit correctly there.