Skip to content

Commit

Permalink
Allow Some in with expression (#2354)
Browse files Browse the repository at this point in the history
  • Loading branch information
darichey authored Dec 31, 2021
1 parent 738679f commit ba61a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhall/src/Dhall/Parser/Expression.hs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ parsers embedded = Parsers{..}
bs <- some (do
try (nonemptyWhitespace *> _with *> nonemptyWhitespace)

keys <- Combinators.NonEmpty.sepBy1 anyLabel (try (whitespace *> _dot) *> whitespace)
keys <- Combinators.NonEmpty.sepBy1 anyLabelOrSome (try (whitespace *> _dot) *> whitespace)

whitespace

Expand Down

0 comments on commit ba61a24

Please sign in to comment.