[project @ 2000-05-25 09:16:56 by simonmar]
authorsimonmar <unknown>
Thu, 25 May 2000 09:16:56 +0000 (09:16 +0000)
committersimonmar <unknown>
Thu, 25 May 2000 09:16:56 +0000 (09:16 +0000)
commitb537743d6e51e7f5f8da13b1c7e90b60844018a6
tree1d3a20fd51f789543064b1d1d4f7cae1e1112bcb
parentfac89d43e3edf41cfc8a427ece08d0e720ac2d84
[project @ 2000-05-25 09:16:56 by simonmar]
raise_info, the info table we use for overwriting thunks with an
exception, had the bogus closure type of FUN.  This was mostly
harmless, but caused some confusion for THUNK_SELECTORs, which rightly
assumed that they shouldn't be pointing at FUNs.

The fix is to change the type to THUNK, which is slightly closer to
being true.

This fixes Alastair Reid's "THUNK_SELECTOR: strange selectee" bug.
ghc/rts/Exception.hc