the keyed elements are currently parsed as seq($.literal_element, ':', $.literal_element), meaning that as a consumer it is difficult to to distinguish the key from the value (given that they have the same type).
This PR proposes to add field names to this part of the grammar, so that they can be told apart.
In struct instantiations, such as:
the keyed elements are currently parsed as
seq($.literal_element, ':', $.literal_element)
, meaning that as a consumer it is difficult to to distinguish the key from the value (given that they have the same type).This PR proposes to add field names to this part of the grammar, so that they can be told apart.