traced bug in lexical scope; need to mask out the prefix
This commit is contained in:
parent
10aff9a7e1
commit
5bddb64554
|
@ -484,6 +484,16 @@
|
|||
(sum-integers 1 10)))
|
||||
(list 3025 55))
|
||||
|
||||
|
||||
;; Lexical scope bug: make sure that parameters shadow toplevels.
|
||||
(test '(begin
|
||||
(define x 42)
|
||||
(define (f x)
|
||||
(+ x 1))
|
||||
(f 16))
|
||||
17)
|
||||
|
||||
|
||||
(test '(let () 5) 5)
|
||||
|
||||
(test '(let* ([x 3]
|
||||
|
|
Loading…
Reference in New Issue
Block a user