You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playing around with huskc/huski I noticed that when an error occurs, the return value to the shell is still sometimes 0, so it isn't possible to reliably detect errors.
Example code to trigger this:
(import (scheme base))
(define (assert x) (unless x (error "ERROR assertion failed")))
(assert (equal? '#1=(a b . #1#) '#2= (a b a b . #2#)))
Playing around with huskc/huski I noticed that when an error occurs, the return value to the shell is still sometimes 0, so it isn't possible to reliably detect errors.
Example code to trigger this:
or
run with huski /tmp/test.scm, this produces error output as follows, but doesn't actually set the return value to anything other than 0:
or
All the error messages are different, so there is no way to check for that either :-/
The text was updated successfully, but these errors were encountered: