This patch allows for subscripts to be applied on struct fields. Currently, it's not possible to do so without assigning the field to another(array) variable.
type Struct = { length: i32, list: i32[] };
...
const struct: Struct = ...;
struct.list[0] = 42; // this is now supported
This patch allows for subscripts to be applied on struct fields. Currently, it's not possible to do so without assigning the field to another(array) variable.