Handle `letrec-syntaxes+values' in free-var computation.
svn: r9111
This commit is contained in:
parent
a4f70641b9
commit
74a000d1ef
|
@ -69,6 +69,8 @@
|
|||
(map free-vars (syntax->list #'(rhs ...)))))]
|
||||
[(letrec-values ([(id ...) rhs] ...) expr ...)
|
||||
(free-vars #'(#%plain-lambda (id ... ...) rhs ... expr ...))]
|
||||
[(letrec-syntaxes+values stx-bindings ([(id ...) rhs] ...) expr ...)
|
||||
(free-vars #'(#%plain-lambda (id ... ...) rhs ... expr ...))]
|
||||
[(_ expr ...)
|
||||
;; if, begin, begin0, set!, #%app, #%variable-reference, with-continuation-mark
|
||||
(merge (map free-vars (syntax->list #'(expr ...))))]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user