fix rendering in debugger when number of return values is not 1
svn: r12367
This commit is contained in:
parent
773aaca3ba
commit
4d38b45205
|
@ -917,8 +917,13 @@
|
||||||
" => "
|
" => "
|
||||||
(if (= 2 (length status))
|
(if (= 2 (length status))
|
||||||
(render (cadr status))
|
(render (cadr status))
|
||||||
(cons 'values (map (lambda (v) (render v))
|
(string-append
|
||||||
(rest status)))))))]
|
"(values"
|
||||||
|
(let loop ([vals (rest status)])
|
||||||
|
(cond
|
||||||
|
[(cons? vals) (string-append " " (render (first vals))
|
||||||
|
(loop (rest vals)))]
|
||||||
|
[else ")"])))))))]
|
||||||
[""]))
|
[""]))
|
||||||
""))
|
""))
|
||||||
(cond [(get-current-frame-endpoints)
|
(cond [(get-current-frame-endpoints)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user