stantronic
08/15/2023, 12:46 PMxxfast
08/15/2023, 12:49 PMcommonMain
is already strict - and you wouldn’t be able to call platform-specific api from commonMain
🤔ephemient
08/15/2023, 12:56 PMephemient
08/15/2023, 1:02 PMJacob Ras
08/15/2023, 1:02 PMephemient
08/15/2023, 1:03 PMjw
08/15/2023, 1:21 PMPHondogo
08/15/2023, 2:06 PMclass Test{
val x: Int
fun x() {}
}
Jacob Ras
08/15/2023, 2:26 PMMichael Paus
08/15/2023, 3:15 PMjw
08/15/2023, 3:19 PMMichael Paus
08/15/2023, 3:27 PMjw
08/15/2023, 3:30 PMMichael Paus
08/15/2023, 3:42 PMPHondogo
08/15/2023, 3:44 PMclass Test{ // name conflict for js target
val x: Int
fun x() {}
}
So in addition to stdlib common dependency one should consider that even language rules are platform dependent. So even you are prepared for common, nobody can be sure that new target will not break language rules.Michael Paus
08/15/2023, 3:47 PMjw
08/15/2023, 3:48 PMMichael Paus
08/15/2023, 3:53 PMstantronic
08/15/2023, 5:19 PMephemient
08/15/2023, 5:20 PMephemient
08/15/2023, 5:21 PMephemient
08/15/2023, 5:22 PMstantronic
08/15/2023, 11:18 PMMarkRS
08/24/2023, 2:18 PMstantronic
08/24/2023, 4:51 PMMarkRS
08/24/2023, 5:02 PMephemient
08/30/2023, 2:18 PM