Skip to content

Commit

Permalink
Fix constructor resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Nov 19, 2024
1 parent 3a10b9c commit fea0e5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion coil-test/api/coil-test.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// Library unique name: <io.coil-kt.coil3:coil-test>
final class coil3.test/FakeImage : coil3/Image { // coil3.test/FakeImage|null[0]
constructor <init>(kotlin/Int = ..., kotlin/Int = ..., kotlin/Int = ..., kotlin/Long = ..., kotlin/Boolean = ...) // coil3.test/FakeImage.<init>|<init>(kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Long;kotlin.Boolean){}[0]
constructor <init>(kotlin/Int = ..., kotlin/Int = ..., kotlin/Long = ..., kotlin/Boolean = ..., kotlin/Int = ...) // coil3.test/FakeImage.<init>|<init>(kotlin.Int;kotlin.Int;kotlin.Long;kotlin.Boolean;kotlin.Int){}[0]
constructor <init>(kotlin/Int, kotlin/Int, kotlin/Long, kotlin/Boolean, kotlin/Int = ...) // coil3.test/FakeImage.<init>|<init>(kotlin.Int;kotlin.Int;kotlin.Long;kotlin.Boolean;kotlin.Int){}[0]

final val color // coil3.test/FakeImage.color|{}color[0]
final fun <get-color>(): kotlin/Int // coil3.test/FakeImage.color.<get-color>|<get-color>(){}[0]
Expand Down
8 changes: 4 additions & 4 deletions coil-test/src/commonMain/kotlin/coil3/test/FakeImage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ expect class FakeImage(

@Deprecated("Kept for binary compatibility.", level = DeprecationLevel.HIDDEN)
constructor(
width: Int = 100,
height: Int = 100,
size: Long = 4L * width * height,
shareable: Boolean = true,
width: Int,
height: Int,
size: Long,
shareable: Boolean,
color: Int = 0x000000,
)

Expand Down

0 comments on commit fea0e5a

Please sign in to comment.