Error Messages/40222
Error message
- Lexical error at line 1 while checking One_nested_item_should_not_parse:
[1,2,[3,4],5]
↑
- Unindexed lists cannot be nested. A value may contain only one unindexed dimension.
Description
An array value can contain at most one implicit dimension. A nested list, as appears here, would introduce a second implicit (unnamed) dimension, and thus violate this principle.
If you really want to create a data structure with nested lists, you can do so using references, e.g.,
[1, 2, \([3,4]), 5]
See also
Comments
Enable comment auto-refresher