Skip to content

dhall-lsp-server Bytes support #2604

Open
@jfennick

Description

The dhall-lsp-server Parser is giving the following errors when using Bytes:

0x"00"
unexpected 'x'
expecting "→", "∧", "≡", "⩓", "⫽", --, ->, //, //\\, /\, :, ===, end of input, operator, or whitespace
Dhall.Parser
{ Type = { foo : Bytes }
, default = { foo = 0x"00" }
}
unexpected 'd'
expecting whitespace or }
Dhall.Parser

The dhall CLI indicates the files are correct:

$ dhall --annotate --file bytes.dhall 
0x"00" : Bytes
$ dhall --annotate --file bytesrecord.dhall       
  { Type = { foo : Bytes }, default.foo = 0x"00" }
: { Type : Type, default : { foo : Bytes } }

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions