adjust DMdA languages so they do the same error rewriting that the HtDP
languages are doing. This seems to make the error messages in DMdA
behave like they did in 5.2.1 (and so I'm pushing this to see how DrDr
reacts)
(cherry picked from commit 44161d73c8
)
This commit is contained in:
parent
bf8072cb1f
commit
7cb2bfa0f8
|
@ -25,6 +25,7 @@
|
|||
lang/debugger-language-interface
|
||||
lang/run-teaching-program
|
||||
lang/private/continuation-mark-key
|
||||
lang/private/rewrite-error-message
|
||||
|
||||
(only-in test-engine/scheme-gui make-formatter)
|
||||
test-engine/scheme-tests
|
||||
|
@ -1187,7 +1188,7 @@
|
|||
(define (teaching-languages-error-display-handler msg exn)
|
||||
|
||||
(if (exn? exn)
|
||||
(display (exn-message exn) (current-error-port))
|
||||
(display (get-rewriten-error-message exn) (current-error-port))
|
||||
(eprintf "uncaught exception: ~e" exn))
|
||||
(eprintf "\n")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user