scheme/sandbox:
Updated get-output and get-error-output to function properly regardless of user language. Previously, it relied on #%app and #%datum behaving similarly to the scheme language. svn: r10251
This commit is contained in:
parent
b27b77f18f
commit
4baccff55a
|
@ -496,7 +496,10 @@
|
||||||
(if src
|
(if src
|
||||||
(filter (lambda (x) (equal? src (syntax-source x))) uncovered)
|
(filter (lambda (x) (equal? src (syntax-source x))) uncovered)
|
||||||
uncovered))]))
|
uncovered))]))
|
||||||
(define (output-getter p) (if (procedure? p) (user-eval `(,p)) p))
|
(define (output-getter p)
|
||||||
|
(if (procedure? p)
|
||||||
|
(user-eval #`(#%app (quote #,p)))
|
||||||
|
p))
|
||||||
(define input-putter
|
(define input-putter
|
||||||
(case-lambda
|
(case-lambda
|
||||||
[() (input-putter input)]
|
[() (input-putter input)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user