Skip to content

Commit 39b3999

Browse files
authored
Merge pull request #45 from roc-lang/new-record-decoding
New record decoding signature
2 parents c2b334f + 9e49e05 commit 39b3999

4 files changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- id: try_fetching_testing_release
1818
continue-on-error: true
1919
run: |
20-
curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linuxTESTING_x86_64-latest.tar.gz
20+
curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-TESTING.tar.gz
2121
2222
- name: There are no TESTING releases, checking regular releases instead
2323
if: steps.try_fetching_testing_release.outcome == 'failure'

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)