Skip to content

confusing error on empty list in record #2200

Open
@marcosh

Description

@marcosh

When Dhall tries to parse

{ a = ""
, b = []
}

it reports the error message

Error: Invalid input

(input):2:3:
  |
2 | , b = []
  |   ^
unexpected 'b'
expecting whitespace or }

while I would expect an Empty list literal without annotation error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions