Compile Error: java.lang.IllegalStateException: 2....
# compose-desktop
s
Compile Error: java.lang.IllegalStateException: 2. expected value parameter count to be higher IDE editor doesnt give any error , actual expect are defined with same number of paramenters , still following error and in error function doesnt show
placeholder
parameter. is this a compiler bug?
Placeholder variable actually has a default consructor value in actual fun. Which should not be an issue! However for now commenting out placeholder variable and using value directly did the trick.
c
I’ve noticed this issue too. It seems to come from calling actual/expect
@Composable
functions with default values. Manually specifying all values (instead of using defaults) seemed to fix it for me
3
j
If you have a minimal repro, please file a bug in Compose upstream here: https://issuetracker.google.com/issues?q=componentid:612128
d
Still experiencing this with `0.5.0-build224`; I'll try to file a repro. Noted against this issue.