⚠️ 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
darkmoon_uk
08/22/2021, 4:59 AM
@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
olonho
08/22/2021, 8:41 AM
it’s not something Compose team could do, as it’s generic compiler issue. cc: @dsavvinov@elizarov