martmists
09/16/2025, 1:18 AMenum class FakeApp(val title: String, val icon: @Composable () -> Unit, val content: @Composable () -> Unit) {
SYSTEM_INFO("System Info", ::SystemInfoIcon, ::SystemInfoApp),
ABOUT_ME("About Me", ::AboutIcon, ::AboutApp),
;
}
results in
Reference to function 'SystemInfoIcon' can not be evaluated: The call site provides 1 more value argument(s) than the function expects
IrLinkageError: Reference to function 'SystemInfoIcon' can not be evaluated: The call site provides 1 more value argument(s) than the function expects
How do I fix this?Oleksandr Karpovich [JB]
10/06/2025, 9:42 AMSYSTEM_INFO("System Info", { SystemInfoIcon() }, { SystemInfoApp() }),
_
Could you please report it here https://youtrack.jetbrains.com/projects/CMP?