Skip to content

Better error message when file contains [[beam]] instead of [beam] #1

@zmitchell

Description

@zmitchell

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].

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions