[MLton] MLton bug: unhandled exception in Basis Library.
fluet at tti-c.org
Tue Dec 16 11:26:47 PST 2008
On Tue, 16 Dec 2008, Henry Cejtin wrote:
> Wouldn't it be easy if the emergeny handler just went straight to C code
> (via the FFI) to print out the history?
Good point. Then it would probably suffice to move the implementation of
MLton.CallStack.current to <src>/basis-library/prim-mlton.sml, also do the
non-trivial setExtendExtra in <src>/basis-library/prim-mlton.sml, and, for
the emergency handler, hand off the entire call-stack array to C to
look-up and print the source strings.
More information about the MLton