Tóth István Zoltán
02/23/2025, 6:56 AMjsBrowserDevelopmentRun
in a case where I transform a constructor parameter.
If I do a Gradle clean
and run jsBrowserDevelopmentRun
after, everything works properly. Sometimes even the restart works.
IrLinkageError: Constructor 'Panel.<init>' can not be called: No constructor found for symbol 'fun.adaptive.ui.workspace/Panel.<init>|<init>(fun.adaptive.utility.UUID<fun.adaptive.ui.workspace.Panel>;kotlin.String;fun.adaptive.resource.graphics.GraphicsResourceSet;fun.adaptive.ui.workspace.PanelPosition;kotlin.Function0<fun.adaptive.foundation.AdaptiveFragment>;kotlin.String?){}[0]'
The class in question (the issue should not be related to the problem). The transformation changes the signature of the _fixme...
parameter type.
class Panel(
val uuid: UUID<Panel>,
val name: String,
val icon: GraphicsResourceSet,
val position: PanelPosition,
@Adaptive // <https://youtrack.jetbrains.com/issue/KT-74337/Local-Delegated-properties-dont-preserve-their-annotations-and-dont-show-up-in-reflection>
val _fixme_adaptive_content: () -> AdaptiveFragment,
val shortcut: String? = null
)
I guess this is some caching / incremental compilation issue. Any pointers on what to do with this one?Artem Kobzar
02/23/2025, 7:29 PMTóth István Zoltán
02/24/2025, 4:09 AM