Currently data structures cannot have null labels in their constructors, that is, the following code throws an error:
show arr
array arr = {
value: [1, 2, 3]
above: null
}
But arr.setText(null, "above") compiles.
It would be nice to have null labels in constructors.
Currently data structures cannot have null labels in their constructors, that is, the following code throws an error:
But
arr.setText(null, "above")compiles.It would be nice to have null labels in constructors.