Most mocking libraries do not work in commonTest, and the fix is better anyway
Dynamic proxies need a JVM. What replaces them asserts on outcomes instead of calls.
We use Google Analytics to see which pages help people. No ads, no profiles. Privacy Policy
Compose, Kotlin, and multiplatform work — the mechanism under the symptom.
296 posts
Dynamic proxies need a JVM. What replaces them asserts on outcomes instead of calls.
A single-threaded target surfaces every real-clock dependency a JVM run hides.
Metadata, klibs and platform artifacts resolve through different Gradle variants.
A layering rule nobody can violate is a dependency declaration, not a document.
Exhaustiveness is why you used a sealed type, and it is exactly what does not cross.
Four channels, four halt latencies, and only one of them is under your hand.
Aliasing to a platform type exports that type's whole surface to every caller.
Android shrinks against a runtime already on the device. iOS links yours in.
Freezing is gone, so the bugs it prevented at compile time are runtime bugs now.
WorkManager schedules under constraints, iOS grants windows, the browser has none.
You suspend across a UI the system presents and may destroy without telling you.
Cache keys for native compilation include the toolchain, so they rarely hit.