sciack
09/13/2023, 4:38 AMpackage myPackage
//imports
val SMALL = 8.dp
val LARGE = 16.dp
I have the following error:
e: Compilation failed: IrPropertyPublicSymbolImpl for news/SMALL|649714184259855934[0] is already bound: PROPERTY name:SMALL visibility:public modality:FINAL [val]
The only solution I found is having them in an Object. Not sure if it's the right approach and I personally don't like it.
For this kind of data could make sense, but if we have for example compositionLocalOf
will be different from how is used in the rest of the frameworkIvan Matkov
09/13/2023, 6:39 AMIrPropertyPublicSymbolImpl
here: https://github.com/JetBrains/compose-multiplatform/issues/3155
But as I see there is no repro there. If you have complete repro to share - it will be great.
cc @Oleksandr Karpovich [JB]sciack
09/13/2023, 9:32 AMOleksandr Karpovich [JB]
09/13/2023, 9:41 AMsciack
09/13/2023, 9:41 AMsciack
09/13/2023, 9:42 AMsciack
09/13/2023, 9:46 AMsciack
09/13/2023, 3:14 PMsciack
09/14/2023, 1:20 AMval commonTest by getting {
dependencies {
dependsOn(commonMain)
implementation(kotlin("test"))
implementation(kotlin("test-common"))
implementation(kotlin("test-junit"))
}
}
changed in:
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-common"))
implementation(kotlin("test-junit"))
@@ -72,15 +71,7 @@ kotlin {
}
}
works fine. See this PR: https://github.com/sciack/news_kmp/pull/31/filessciack
09/14/2023, 1:23 AMOleksandr Karpovich [JB]
09/14/2023, 8:19 AMsciack
09/14/2023, 8:26 AMTask sharedlinkDebugTestIosSimulatorArm64
sciack
09/14/2023, 8:27 AMsciack
09/14/2023, 8:32 AM