Hello everyone, I have encountered an issue, when upgrading my kotlin from 1.6.20, to 1.8.21. Previo...
v
Hello everyone, I have encountered an issue, when upgrading my kotlin from 1.6.20, to 1.8.21. Previously, when I compiled my library, the classes were in kotlin like so: androidx.compose.runtime.internal.StabilityInferred public open class MainActivity public constructor() : com.example.core.presentation.view.a, s3.c.a, g0.a.a, s3.c.b, s4.c, i4.a { public final lateinit var toolbar: androidx.appcompat.widget.Toolbar /* compiled code */ public final var backButton: androidx.appcompat.widget.AppCompatImageView? /* compiled code */ private final fun r0(): kotlin.Unit { /* compiled code */ } private final fun x0(): kotlin.Unit { /* compiled code */ } private final fun y0(): kotlin.Unit { /* compiled code */ } Now, in kotlin 1.8.21, the same class is compiled in Java: public class MainActivity extends a implements c.a, g0.a.a, c.b, s4.c, i4.a { public Toolbar k0; Nullable private AppCompatImageView l0; Nullable private AlertDialog m0; Nullable private AlertDialog n0; private boolean o0; public MainActivity() { } What happened and how can I fix this?
🧵 1
n
What exactly the problem with this? Also formatting code parts with code block probably would help to understand your code samples a little bit better