Getting a lot of warnings while compiling after sw...
# webassembly
p
Getting a lot of warnings while compiling after switch to Kotlin 2.1.0-Beta2. More in thread...
The compiler plugin 'androidx.compose.compiler.plugins.kotlin.ComposeIrGenerationExtension' generated invalid IR. Please report this bug to the plugin vendor. Kotlin fields are expected to always be private FIELD name:app_example_Test$stable type:kotlin.Int visibility:public [final,static] inside PROPERTY name:app_example_Test$stableprop visibility:public modality:FINAL [val] inside FILE fqName:app.example fileName:/path/to/file.wasmjs.kt
I understand that it is due to Compose compiler plugin generate non private fields. Is it known issue or should be filed?
h
It’s not only web assembly but all targets (because of IR). And I just got the same error messages
a
I rushed in here to report the very same thing 😄
Looks like we are going to have to wait for a compose release that has been compiled with kotlin 2.1.0 I guesse
j
The compiler is part of Kotlin though