From 3072f367ccb5f8bc7102b9eda06f2131db5c2909 Mon Sep 17 00:00:00 2001 From: Dan Doel Date: Tue, 14 May 2024 16:25:48 -0400 Subject: [PATCH 1/2] Use `equal?` when checking for boolean typelink Apparently `eqv?` is not good enough --- scheme-libs/racket/unison/primops-generated.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheme-libs/racket/unison/primops-generated.rkt b/scheme-libs/racket/unison/primops-generated.rkt index ed4b7db7a..0e9b462ff 100644 --- a/scheme-libs/racket/unison/primops-generated.rkt +++ b/scheme-libs/racket/unison/primops-generated.rkt @@ -308,7 +308,7 @@ (let ([bs (map reify-value (chunked-list->list bs0))] [tl (reference->typelink rf)]) (cond - [(eqv? tl builtin-boolean:typelink) + [(equal? tl builtin-boolean:typelink) (cond [(not (null? bs)) (raise From 7569e85bed94e67faa4efe799e447eef2f26952d Mon Sep 17 00:00:00 2001 From: Dan Doel Date: Tue, 14 May 2024 17:33:23 -0400 Subject: [PATCH 2/2] Bump @unison/internal dependency --- .github/workflows/ci.md | 2 +- .github/workflows/ci.yaml | 2 +- unison-src/transcripts-manual/gen-racket-libs.md | 2 +- unison-src/transcripts-manual/gen-racket-libs.output.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.md b/.github/workflows/ci.md index 10019422c..4f0de29bf 100644 --- a/.github/workflows/ci.md +++ b/.github/workflows/ci.md @@ -9,7 +9,7 @@ At a high level, the CI process is: Some version numbers that are used during CI: - `ormolu_version: "0.5.0.1"` - `racket_version: "8.7"` -- `jit_version: "@unison/internal/releases/0.0.16"` +- `jit_version: "@unison/internal/releases/0.0.17"` Some cached directories: - `ucm_local_bin` a temp path for caching a built `ucm` diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 863f28d2f..bee857575 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ on: env: ormolu_version: 0.5.2.0 ucm_local_bin: ucm-local-bin - jit_version: "@unison/internal/releases/0.0.16" + jit_version: "@unison/internal/releases/0.0.17" jit_src_scheme: unison-jit-src/scheme-libs/racket jit_dist: unison-jit-dist jit_generator_os: ubuntu-20.04 diff --git a/unison-src/transcripts-manual/gen-racket-libs.md b/unison-src/transcripts-manual/gen-racket-libs.md index 28589a3d5..3967df5ce 100644 --- a/unison-src/transcripts-manual/gen-racket-libs.md +++ b/unison-src/transcripts-manual/gen-racket-libs.md @@ -5,7 +5,7 @@ Next, we'll download the jit project and generate a few Racket files from it. ```ucm .> project.create-empty jit-setup -jit-setup/main> pull @unison/internal/releases/0.0.16 lib.jit +jit-setup/main> pull @unison/internal/releases/0.0.17 lib.jit ``` ```unison diff --git a/unison-src/transcripts-manual/gen-racket-libs.output.md b/unison-src/transcripts-manual/gen-racket-libs.output.md index efc90384c..241a9cdc5 100644 --- a/unison-src/transcripts-manual/gen-racket-libs.output.md +++ b/unison-src/transcripts-manual/gen-racket-libs.output.md @@ -20,7 +20,7 @@ Next, we'll download the jit project and generate a few Racket files from it. 🎉 🥳 Happy coding! -jit-setup/main> pull @unison/internal/releases/0.0.16 lib.jit +jit-setup/main> pull @unison/internal/releases/0.0.17 lib.jit Downloaded 15091 entities.