This statement throws a runtime error "missing adat companion". The reason is that the plugin does not recognise
this form and does not set the companion in the binding.
val userMode = autoInstance(sidebarState)?.userMode
Workaround:
val userMode = autoInstance(sidebarState)
if (userMode?.mode == SidebarUserMode.Closed) {
This statement throws a runtime error "missing adat companion". The reason is that the plugin does not recognise this form and does not set the companion in the binding.
Workaround: