See snippet below.
IMHO the second call to add1 should fail. On guile-2.2.6 it does not error out.
On guile-2.0 it does throw error (as I think it should).
Is this intentional?
=-=-=
(define (main)
(define (add1 num)
(+ num 1))
(display "testing")
(display (add1 2))
(display (add1 2 3)))
(main)
=-=-=