unbound variable check on R6RS is done incorrectly.
Issue #180
resolved
This should not raise an error.
(library (helper)
(export mark)
(import (rnrs))
(define mark #'mark)
)
(library (bug)
(export foo)
(import (rnrs) (for (helper) expand))
(define-syntax foo
(lambda (x)
(display mark) (newline)
(syntax-case x ()
((_) 'ok))))
)
Comments (2)
-
reporter -
reporter - changed status to resolved
Executing libraries inside of 'program' syntax. (Fixes
#180)→ <<cset e0a42e967218>>
- Log in to comment
This happens only
-r6
option is passed and the reported script is written in one file. So it's more likeprogram
hidden syntax's problem.