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

let* internal define #12

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment
Closed

let* internal define #12

GoogleCodeExporter opened this issue Mar 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

If a let* form has empty bindings, it expands to a begin form, and so
internal defines are bound in the wrong scope.  Attached is a bundle which
fixes this and adds tests to r5rs-tests.scm

> (let* () (define x 1) (- x))
-1
> x
1

Original issue reported on code.google.com by derick.e...@gmail.com on 8 Dec 2009 at 12:26

Attachments:

@GoogleCodeExporter
Copy link
Author

Pushed.

Original comment by alexsh...@gmail.com on 8 Dec 2009 at 3:51

  • Changed state: Fixed

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

No branches or pull requests

1 participant