Jake Wharton

Results 1657 comments of Jake Wharton

So I have a small prototype for inverted assertions, but it has some design problems. The biggest is assertions which combine a test and a new return value. Today I...

Assumptions do not work in multiplatform, so this would have to be a JVM-only feature.

The AndroidX Compose compiler is going away with Kotlin 2.0. The compiler has moved into the Kotlin repo under the JetBrains coordinates. There's also a new Gradle plugin for it...

Node 22 releases in 13 days which will correct that issue.

Nice. Yeah that has all the relevant info it seems!

Only if you are experiencing it on targets other than Android. If you are only using it on Android, an explicit dependency on the newer version is all you need.

Yes, alas, we must wait. It's not even merged into their builds yet.

Thanks for the report. Did you want to try and send a PR with a fix? If not, someone will get to it when we have free time.

I'm definitely very resistant to anything that is automatic or inferred. This feature adds to the object's memory size. Sometimes you can squeeze in an extra field for free (thanks...

The runtime could ship marker functions like ```kotlin @Memoized override fun toString() = pokoToString() ``` to get close to that today. The functions would throw under the assumption that they'll...