This is an easy mistake to make since the elements section is an array and thus requires [[elements]]. The current error message
error: invalid type: map, expected enum PolType for key `beam`
doesn't tell the user that they've entered [[beam]] when they should have entered [beam].
This is an easy mistake to make since the
elementssection is an array and thus requires[[elements]]. The current error messagedoesn't tell the user that they've entered
[[beam]]when they should have entered[beam].