This is a discussion/feature issue because it adds some weird behavior with operations on the arrays
Recursively resolve arrays of records into structs of arrays:
type Leaf = { value0: int, value1: string }
type Branch = { a: Leaf, b: Leaf }
var tree: Branch[]
tree should resolve into arrays for
tree.a.value0
tree.a.value1
tree.b.value0
tree.b.value1
Array operations on tree should apply to all of the resolved arrays in parallel. This risks some weird behavior for array operations that return OutOfBounds like array.get() requiring an Or/And gate for each resolved array...
This is a discussion/feature issue because it adds some weird behavior with operations on the arrays
Recursively resolve arrays of records into structs of arrays:
treeshould resolve into arrays fortree.a.value0tree.a.value1tree.b.value0tree.b.value1Array operations on
treeshould apply to all of the resolved arrays in parallel. This risks some weird behavior for array operations that returnOutOfBoundslikearray.get()requiring an Or/And gate for each resolved array...