joseph_ivie
07/31/2025, 3:10 PMexpect value class ViewNode
actual value class ViewNode(val android: View) // android
actual value class ViewNode(val web: HTMLElement) // web
actual value class ViewNode(val ios: UIView) // ios
To be clear, this doesn't currently work, but it would be nice if it did.Youssef Shoaib [MOD]
07/31/2025, 4:14 PMexpect class
and actualize it with `value class`es?joseph_ivie
07/31/2025, 4:16 PMzt
07/31/2025, 6:47 PMexpect class Something
expect value class Container(val value: Something)
actual typealias Something = Int
actual value class Container(val something: Something)
But it would be a lot neater to not have to use a typealiasjoseph_ivie
07/31/2025, 6:48 PMHTMLElement
is an external interface