Yes this will go away, but we’re still using a fairly old base Kotlin compiler. We’re working on a rebase that should fix a lot of things (inline classes, etc.)
l
Leland Richardson [G]
04/03/2020, 3:12 PM
to be clear, this has nothing to do with the compose compiler and is just an oddity with kotlin’s language grammar. This was fixed and will be the default in 1.4 but can also be turned on with a flag currently. actually, AGP automatically adds this flag with the
compose true
flag, so it should actually compile, but android studio maybe won’t like it. Hope that makes sense.