From afb47442a925cac3fd57a35adae7da4b306aba7f Mon Sep 17 00:00:00 2001 From: Colin White Date: Mon, 18 Nov 2024 01:43:35 -0800 Subject: [PATCH] Fix constructor resolution. --- coil-test/api/coil-test.klib.api | 2 +- coil-test/src/commonMain/kotlin/coil3/test/FakeImage.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/coil-test/api/coil-test.klib.api b/coil-test/api/coil-test.klib.api index 3f98b70fab..8fbe61240a 100644 --- a/coil-test/api/coil-test.klib.api +++ b/coil-test/api/coil-test.klib.api @@ -8,7 +8,7 @@ // Library unique name: final class coil3.test/FakeImage : coil3/Image { // coil3.test/FakeImage|null[0] constructor (kotlin/Int = ..., kotlin/Int = ..., kotlin/Int = ..., kotlin/Long = ..., kotlin/Boolean = ...) // coil3.test/FakeImage.|(kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Long;kotlin.Boolean){}[0] - constructor (kotlin/Int = ..., kotlin/Int = ..., kotlin/Long = ..., kotlin/Boolean = ..., kotlin/Int = ...) // coil3.test/FakeImage.|(kotlin.Int;kotlin.Int;kotlin.Long;kotlin.Boolean;kotlin.Int){}[0] + constructor (kotlin/Int, kotlin/Int, kotlin/Long, kotlin/Boolean, kotlin/Int = ...) // coil3.test/FakeImage.|(kotlin.Int;kotlin.Int;kotlin.Long;kotlin.Boolean;kotlin.Int){}[0] final val color // coil3.test/FakeImage.color|{}color[0] final fun (): kotlin/Int // coil3.test/FakeImage.color.|(){}[0] diff --git a/coil-test/src/commonMain/kotlin/coil3/test/FakeImage.kt b/coil-test/src/commonMain/kotlin/coil3/test/FakeImage.kt index caf9d9fd9a..9daad1ecd2 100644 --- a/coil-test/src/commonMain/kotlin/coil3/test/FakeImage.kt +++ b/coil-test/src/commonMain/kotlin/coil3/test/FakeImage.kt @@ -17,10 +17,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 = Black, )