:warning: Developing with Compose for Multiplatfor...
# compose-desktop
d
⚠️ Developing with Compose for Multiplatform? (e.g. Desktop + Android) You may have encountered a long-standing bug, that default parameters in
expect
/
actual
do not play nice with the Compose compiler - meaning you can't use default parameters values at all! This is a major bug/limitation, since
@Composable
functions often rely on many default parameters to have a usable API. Please consider voting here.
6
@olonho Any impression of the size of work required to fix this? It's one of only few issues I've encountered with Compose + Kotlin that I would consider to be a 'major bug' and really impacts usability in KMP scenario.
o
it’s not something Compose team could do, as it’s generic compiler issue. cc: @dsavvinov @elizarov