Fixed
Status Update
Comments
le...@google.com <le...@google.com> #2
And create a non-compose app will just works fine.
ch...@google.com <ch...@google.com> #3
Same issue here
ap...@google.com <ap...@google.com> #4
Same issue here, app crashes on start when using android-gradle 7.1.0-alpha04 and AS Canary 4
Description
```
sealed class MyModel {
@androidx.compose.Model
data class A(var value: Int) : MyModel()
}
@androidx.compose.Model
data class B(var value: Int) : MyModel()
```
Observed behavior: the compilation fails only on class B with "Model objects do not support inheritance".
Expected behavior: the compilation fails for both A and B (or succeeds for both).
Q: Will inheritance be supported in the future?
Build: AI-192.6817.14.36.5959023, 201910230206,
AI-192.6817.14.36.5959023, JRE 1.8.0_212-release-1586-b4-5784211x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.15, screens 1280x800; Retina
AS: 4.0 Canary 1; Kotlin plugin: 1.3.60-eap-25; Android Gradle Plugin: 4.0.0-alpha01; Gradle: 5.6.1; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)