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

Require whitespace before with #2212

Closed
travisbrown opened this issue Jun 7, 2021 · 1 comment
Closed

Require whitespace before with #2212

travisbrown opened this issue Jun 7, 2021 · 1 comment

Comments

@travisbrown
Copy link
Contributor

The grammar currently requires whitespace before with:

with-expression =
    import-expression 1*(whsp1 with whsp1 with-clause)

I'm following this in Dhall for Java, but noticed that the Haskell implementation doesn't match the standard:

$ dhall <<< "{=}with foo = 0with bar = 1"
{ bar = 1, foo = 0 }

This seems to me like a bug on the dhall-haskell side, not in the grammar, but I'm happy to open an issue over at dhall-lang if anyone disagrees.

@Gabriella439
Copy link
Collaborator

Fixed by #2213

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

No branches or pull requests

3 participants