Closed tomonacci closed 9 years ago
Actually just replacing vm-set-default-exception-handler doesn't work, for we also changed the semantics of Scm_ReportError (invoked in gauche-gtk's callback handling mechanism). I think we should handle custom error reporting within gauche-gtk.
Fix pushed
When you run
examples/error-dialog.scm
with Gauche HEAD (version 0.9.5_pre1
) you get undefined variable error sayingvm-set-default-exception-handler
is missing. According to Gauche'sChangeLog
it seems it should be replaced with(with-module gauche.internal %vm-custom-error-reporter-set!)
for version >= 0.9.5.