[PATCH r16] Fix arity mismatch nonsense
Export this patch
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: SUCCESS in 51s
[Fix arity mismatch nonsense][0] from [][1]
[0]: https://lists.sr.ht/~williewillus/public-inbox/patches/55031
[1]: mailto:wenming.yi@gmail.com
✓ #1327570 SUCCESS r16/patches/linux_buildtest.yml https://builds.sr.ht/~williewillus/job/1327570
idk what the actual bug is here but sure. Pushed.
wenming.yi@gmail.com writes: