Why are <KaMPKit>/<shared>/<src>/<androidMain>/<ko...
# touchlab-tools
m
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
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
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.