WAI
Status Update
Comments
cl...@google.com <cl...@google.com>
le...@google.com <le...@google.com> #2
Known issue, we cannot do anything because AGP doesn't provide an API to fetch Kotlin sources (specifically here
ya...@gmail.com <ya...@gmail.com> #3
Would you be opposed to failing the build if we see a src/kotlin
directory?
le...@google.com <le...@google.com> #4
No, go ahead if you want to add that check.
Description
Jetpack Compose release version: alpha4
Android Studio Build: 4.2 Canary 13
Attached is a sample project.
Have a sealed class with a list in a companion object.
Add one of those objects in to a state variable
Try to iterate over the list
App crashes with a require non null assert failing
Either moving the ALL list to global scope or removing the state variable makes the problem go away.