Skip to content

Commit c6502d7

Browse files
committed
new decoding signature
See roc-lang/roc#6587 for context.
1 parent c2b334f commit c6502d7

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

flake.lock

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "basic-webserver devShell flake";
33

44
inputs = {
5-
roc.url = "github:roc-lang/roc";
5+
roc.url = "github:faldor20/roc/3fef8b9f82acb70c7fb8b142e886ac5dd4495fe6";
66
nixpkgs.follows = "roc/nixpkgs";
77

88
# rust from nixpkgs has some libc problems, this is patched in the rust-overlay
@@ -60,4 +60,4 @@
6060

6161
formatter = pkgs.nixpkgs-fmt;
6262
});
63-
}
63+
}

platform/EnvDecoding.roc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ envList = \decodeElem -> Decode.custom \bytes, @EnvFormat {} ->
9191
# TODO: we must currently annotate the arrows here so that the lambda sets are
9292
# exercised, and the solver can find an ambient lambda set for the
9393
# specialization.
94-
envRecord : _, (_, _ -> [Keep (Decoder _ _), Skip]), (_ -> _) -> Decoder _ _
94+
envRecord : _, (_, _ -> [Keep (Decoder _ _), Skip]), (_, _ -> _) -> Decoder _ _
9595
envRecord = \_initialState, _stepField, _finalizer -> Decode.custom \bytes, @EnvFormat {} ->
9696
{ result: Err TooShort, rest: bytes }
9797

0 commit comments

Comments
 (0)