add an "contract on:" line for the case when an #:important argument

overrides the name of the value so we can keep that original name somewhere

related to PR 13692
This commit is contained in:
Robby Findler 2013-04-13 18:37:08 -05:00
parent 79955e1204
commit 24ee49b7a2

View File

@ -235,6 +235,11 @@
(for/list ([party (in-list blame-parties)])
(format "\n ~a" (convert-blame-singleton party))))]))
(define on-line
(and (blame-important blme)
(blame-value blme)
(format " contract on: ~a" (blame-value blme))))
(define from-line
(if (blame-original? blme)
(let ([from-positive-message
@ -256,6 +261,7 @@
" in:"
(substring contract-line 5 (string-length contract-line))))
from-line
on-line
blaming-line
at-line))