Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inside let forms #56

Open
digikar99 opened this issue Jul 21, 2019 · 0 comments
Open

Inside let forms #56

digikar99 opened this issue Jul 21, 2019 · 0 comments

Comments

@digikar99
Copy link

The following does not work - as in a is captured from the global environment. This is unexpected behaviour.

LISP-UNIT> (let ((a 4)) (define-test test (assert-equalp a 4)))
; in: LET ((A 4))
;     (LET ((LISP-UNIT::A 4))
;       (LISP-UNIT:DEFINE-TEST LISP-UNIT::TEST
;         (LISP-UNIT:ASSERT-EQUALP LISP-UNIT::A 4)))
; 
; caught STYLE-WARNING:
;   The variable A is defined but never used.
; 
; compilation unit finished
;   caught 1 STYLE-WARNING condition
TEST

This seems to be a related issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant