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

nested defines breaking lexical scoping #201

Open
keithohara opened this issue Oct 8, 2020 · 1 comment
Open

nested defines breaking lexical scoping #201

keithohara opened this issue Oct 8, 2020 · 1 comment
Labels

Comments

@keithohara
Copy link

This results in undefined being outputted:

(define (f)
  (define t 0)
  (define (g t)
    (display t) (newline))
  (g t))
(f)
@yhara yhara added the bug label Oct 11, 2020
@yhara
Copy link
Member

yhara commented Oct 11, 2020

Confirmed (chibi-scheme prints 0 for this.)

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

No branches or pull requests

2 participants