Skip to content

Commit 2cac778

Browse files
authored
Merge branch 'main' into feature/issue2527-character-set
2 parents f6a682b + 2cb970e commit 2cac778

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
package 'dhall-yaml' "bin/dhall-to-yaml-ng${exe}" "bin/yaml-to-dhall${exe}"
174174
- name: "Upload package"
175175
if: ${{ matrix.stack-yaml == 'stack.yaml' }}
176-
uses: actions/upload-artifact@v4
176+
uses: actions/upload-artifact@v5
177177
with:
178178
name: 'dhall-${{ runner.os }}-${{ runner.arch }}.${{ matrix.os.file-extension }}'
179179
path: 'dhall-*${{ runner.os }}-${{ runner.arch }}.${{ matrix.os.file-extension }}'

dhall-docs/dhall-docs.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Library
7676
filepath >= 1.4 && < 1.6 ,
7777
microlens >= 0.4 && < 0.5 ,
7878
lucid >= 2.9.12 && < 2.12,
79-
mmark >= 0.0.7.0 && < 0.8 ,
79+
mmark >= 0.0.7.0 && < 0.0.9 ,
8080
-- megaparsec follows SemVer: https://github.com/mrkkrp/megaparsec/issues/469#issuecomment-927918469
8181
megaparsec >= 7 && < 10 ,
8282
path >= 0.7.0 && < 0.10,

dhall/src/Dhall/Marshal/Decode.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ instance (Functor f, FromDhall (f (Result f))) => FromDhall (Fix f) where
502502
| a /= b = Core.subst (V a 0) (Var (V b 0)) (Core.shift 1 (V b 0) expr)
503503
| otherwise = expr
504504

505-
expected = (\x -> Pi mempty "result" (Const Core.Type) (Pi mempty "Make" (Pi mempty "_" x "result") "result"))
505+
expected = (\x -> Pi mempty "result" (Const Core.Type) (Pi mempty "_" (Pi mempty "_" x "result") "result"))
506506
<$> Dhall.Marshal.Decode.expected (autoWith inputNormalizer :: Decoder (f (Result f)))
507507

508508
resultToFix :: Functor f => Result f -> Fix f

dhall/src/Dhall/Parser/Token.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ ipLiteral :: Parser Text
747747
ipLiteral = "[" <> (ipV6Address <|> ipVFuture) <> "]"
748748

749749
ipVFuture :: Parser Text
750-
ipVFuture = "v" <> plus (satisfy hexdig) <> "." <> plus (satisfy predicate)
750+
ipVFuture = ("v" <|> "V") <> plus (satisfy hexdig) <> "." <> plus (satisfy predicate)
751751
where
752752
predicate c = unreserved c || subDelims c || c == ':'
753753

@@ -835,7 +835,7 @@ decOctet =
835835
predicate c = '\x30' <= c && c <= '\x35'
836836

837837
domain :: Parser Text
838-
domain = domainLabel <> star ("." <> domainLabel ) <> option "."
838+
domain = domainLabel <> star (try ("." <> domainLabel )) <> option "."
839839

840840
domainLabel :: Parser Text
841841
domainLabel = plus alphaNum_ <> star (plus "-" <> plus alphaNum_)

0 commit comments

Comments
 (0)