...
original commit: 2ee4a44759596ca1b1e0cb75655c755c136d2ce7
This commit is contained in:
parent
10ff0f1e62
commit
3b716960be
|
@ -443,10 +443,14 @@
|
|||
(let ([pc
|
||||
(lambda (pv)
|
||||
(lambda (x)
|
||||
(parameterize ([use-numbered-names pv])
|
||||
(parameterize ([named/undefined-handler (lambda (x) 'whee)]
|
||||
[use-named/undefined-handler
|
||||
(lambda (x) pv)])
|
||||
(print-convert x))))])
|
||||
(test '(lambda (a1) ...) (pc #f) (let ([f (lambda (x) x)]) f))
|
||||
(test 'f_1 (pc #t) (let ([f (lambda (x) x)]) f))
|
||||
(test '(list f_2 f_3) (pc #t) (let ([g (lambda (y) (let ([f (lambda (x) y)]) f))]) (list (g 1) (g 2)))))
|
||||
(test 'whee (pc #t) (let ([f (lambda (x) x)]) f))
|
||||
(test '(list whee whee)
|
||||
(pc #t)
|
||||
(let ([g (lambda (y) (let ([f (lambda (x) y)]) f))]) (list (g 1) (g 2)))))
|
||||
|
||||
(report-errs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user