Join Slack
Powered by
PSA for everyone migrating to Kotlin 1.8 and compo...
# compose
p
Paul Woitaschek
01/24/2023, 8:12 PM
PSA for everyone migrating to Kotlin 1.8 and compose 1.4: There is a pretty nasty compiler bug that causes early returns to crash at runtime:
Copy code
Column { if (true) return@Column }
https://issuetracker.google.com/issues/266535050
💀 3
👍 3
👍🏽 1
j
Jakub Syty
01/24/2023, 8:16 PM
I remember i had this issue on the 1.0. I was never able to return from inline composables, like Column or Row
s
sindrenm
01/24/2023, 9:41 PM
Yeah, this sounds like a regression. It was definitely fixed at some point.
2
Views
Open in Slack
Previous
Next