Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dhall-lsp-server Bytes support #2604

Open
jfennick opened this issue Sep 20, 2024 · 1 comment
Open

dhall-lsp-server Bytes support #2604

jfennick opened this issue Sep 20, 2024 · 1 comment

Comments

@jfennick
Copy link

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 } }
@Gabriella439
Copy link
Collaborator

What version of dhall-lsp-server are you running and how did you install it?

The reason that I'm asking is that I'm guessing that it might have been built against an older version of the dhall package. Note that it depends on dhall as a library, which it is linked against, and it doesn't use any dhall executable that you might have on your PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants