-
Notifications
You must be signed in to change notification settings - Fork 685
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
Enable the JVM IR backend. #670
Conversation
@@ -660,7 +676,7 @@ public final class coil/size/OriginalSize : coil/size/Size { | |||
public fun writeToParcel (Landroid/os/Parcel;I)V | |||
} | |||
|
|||
public class coil/size/OriginalSize$Creator : android/os/Parcelable$Creator { | |||
public final class coil/size/OriginalSize$Creator : android/os/Parcelable$Creator { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interestingly this is not a binary incompatible change, however classes that extend this class with throw a VerifyError
when instantiated. Assuming the Kotlin team has taken this into account.
35c9491
to
98af499
Compare
@@ -4,6 +4,7 @@ public abstract class coil/fetch/VideoFrameFetcher : coil/fetch/Fetcher { | |||
public static final field VIDEO_FRAME_OPTION_KEY Ljava/lang/String; | |||
public fun <init> (Landroid/content/Context;)V | |||
public fun fetch (Lcoil/bitmap/BitmapPool;Ljava/lang/Object;Lcoil/size/Size;Lcoil/decode/Options;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | |||
public static final synthetic fun fetch$suspendImpl (Lcoil/fetch/VideoFrameFetcher;Lcoil/bitmap/BitmapPool;Ljava/lang/Object;Lcoil/size/Size;Lcoil/decode/Options;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bug in 1.4.31
that this is declared public, but it can't be called by Java and it's a Kotlin implementation detail so I wouldn't consider it part of the public API.
* Enable the JVM IR backend. * Update API. * Work around bug.
https://blog.jetbrains.com/kotlin/2021/02/the-jvm-backend-is-in-beta-let-s-make-it-stable-together/
Blocked by: https://youtrack.jetbrains.com/issue/KT-44993 (or a similarWorked around the issue by removinginline
bug). This bug is fixed in Kotlin1.5.0
.internal
for the function that was causing the issue.