fix rendering in debugger when number of return values is not 1

svn: r12367
This commit is contained in:
Greg Cooper 2008-11-09 17:51:04 +00:00
parent 773aaca3ba
commit 4d38b45205

View File

@ -917,8 +917,13 @@
" => "
(if (= 2 (length status))
(render (cadr status))
(cons 'values (map (lambda (v) (render v))
(rest status)))))))]
(string-append
"(values"
(let loop ([vals (rest status)])
(cond
[(cons? vals) (string-append " " (render (first vals))
(loop (rest vals)))]
[else ")"])))))))]
[""]))
""))
(cond [(get-current-frame-endpoints)