~williewillus/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH r16] Fix arity mismatch nonsense

Details
Message ID
<20240913213315.335265-1-wenming.yi@gmail.com>
DKIM signature
pass
Download raw message
Patch: +1 -1
From: Alwinfy <20421383+Alwinfy@users.noreply.github.com>

bug's been bothering me for years now and it's a one line fix

---
 backend.rkt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend.rkt b/backend.rkt
index 17ecd92..3a1276f 100644
--- a/backend.rkt
@@ -45,7 +45,7 @@
              (cond [(ev:run-result-stderr rr)
                     => (lambda (stderr) (write-string stderr (current-error-port)))])
              (apply values (ev:run-result-results rr)))
            (raise (make-exn:fail:contract (~a "Trick " name " doesn't exist!")))))
            (raise-arguments-error 'call-subtrick (~a "Trick " name " doesn't exist!"))))

      (define (read-args)
        (with-handlers ([exn:fail:read? (const #f)])
-- 
2.34.1

[r16/patches/linux_buildtest.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<D45H91Y2AUCA.20T7CKKT1VK84@fra02>
In-Reply-To
<20240913213315.335265-1-wenming.yi@gmail.com> (view parent)
DKIM signature
missing
Download raw message
r16/patches/linux_buildtest.yml: SUCCESS in 51s

[Fix arity mismatch nonsense][0] from [][1]

[0]: https://lists.sr.ht/~williewillus/public-inbox/patches/55031
[1]: wenming.yi@gmail.com

✓ #1327570 SUCCESS r16/patches/linux_buildtest.yml https://builds.sr.ht/~williewillus/job/1327570
Details
Message ID
<87ikuzyn6g.fsf@vincent-lee.net>
In-Reply-To
<20240913213315.335265-1-wenming.yi@gmail.com> (view parent)
DKIM signature
pass
Download raw message
idk what the actual bug is here but sure. Pushed.

wenming.yi@gmail.com writes:

> From: Alwinfy <20421383+Alwinfy@users.noreply.github.com>
>
> bug's been bothering me for years now and it's a one line fix
>
> ---
>  backend.rkt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/backend.rkt b/backend.rkt
> index 17ecd92..3a1276f 100644
> --- a/backend.rkt
> +++ b/backend.rkt
> @@ -45,7 +45,7 @@
>                (cond [(ev:run-result-stderr rr)
>                       => (lambda (stderr) (write-string stderr (current-error-port)))])
>                (apply values (ev:run-result-results rr)))
> -            (raise (make-exn:fail:contract (~a "Trick " name " doesn't exist!")))))
> +            (raise-arguments-error 'call-subtrick (~a "Trick " name " doesn't exist!"))))
>  
>        (define (read-args)
>          (with-handlers ([exn:fail:read? (const #f)])
Reply to thread Export thread (mbox)