Kefas
10/05/2022, 9:54 AMdata class User(val id: Int) {
private var name = "a"
}
unstable class User {
stable val id: Int
stable var name: String
<runtime stability> = Unstable
}
Lukáš Kúšik
10/05/2022, 10:12 AMKefas
10/05/2022, 10:34 AM• The result offor two instances will forever be the same for the same two instances.equals
• If a public property of the type changes, Composition will be notified.
• All public property types are also stable.
Zach Klippenstein (he/him) [MOD]
10/05/2022, 3:03 PM