Fixed
Status Update
Comments
le...@google.com <le...@google.com> #2
ch...@google.com <ch...@google.com> #3
Thanks for the report!
ap...@google.com <ap...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
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)