-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read kotlin metadata to resolve nullability of suspending functions #3544
base: trunk
Are you sure you want to change the base?
Conversation
Why not use kotlinx-metadata? |
@ZacSweers Due to its size: #3075 (comment) |
That's two years old and almost certainly referring to kotlin-reflect, which is different. |
It’s still 2.6 MB, right? https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-metadata-jvm/0.2.0 |
Sure, but that's not what the comment you linked was referring to. |
It's in the name of the issue #3075: That is actually how I started, I can fairly easily put it back. For me it shows closer to 2.7MB. It probably would be stripped by proguard/r8 a lot, since we really need just a small bit, but still. |
The metadata dependency is unacceptable, yes. I'll look later. Thanks for the PR. |
Hi, no pressure here, but if I can explain or clean up the code to help with reviewing this, let me know. |
Earliest I'll be able to look is next week. I'm just very busy, sorry! |
Any update on this? :) |
I did another pass through this. I cleaned up some stuff, marked which parts were extracted from |
Any update on this? :) Looks like |
# Conflicts: # retrofit/src/main/java/retrofit2/HttpServiceMethod.java
Any updates on this? :) |
Attempt at #3075. Any suggestions to improve are welcome.