Allow types to be destructured by their public properties. Example:
Circle < Value {
radius Float
foo private Float
}
Rect < Value {
width Float
height Float
}
main() Int {
c Circle = Circle(10.0)
(radius) = c
r Rect = Rect(1.0, 2.0)
(width, height) = r
ret 0
}
Allow types to be destructured by their public properties. Example: