From: sof Date: Sun, 28 Apr 2002 01:58:29 +0000 (+0000) Subject: [project @ 2002-04-28 01:58:29 by sof] X-Git-Tag: Approx_11550_changesets_converted~2093 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f6124b6ca2ec9820f7eb454dbcffbf4b8b790d4f;p=ghc-hetmet.git [project @ 2002-04-28 01:58:29 by sof] Heal HEID. * eRROR_ID: use FSLIT() rather than SLIT() to have "error" be added to the FastString hash table rather than as an ext. C string; the Binary instance for FastString can't handle the latter, only the former. [any deep reasons why not?] --- diff --git a/ghc/compiler/basicTypes/MkId.lhs b/ghc/compiler/basicTypes/MkId.lhs index 15ed717..80d4622 100644 --- a/ghc/compiler/basicTypes/MkId.lhs +++ b/ghc/compiler/basicTypes/MkId.lhs @@ -931,7 +931,7 @@ runtimeErrorTy = mkSigmaTy [openAlphaTyVar] [] (mkFunTy addrPrimTy openAlpha \end{code} \begin{code} -eRROR_ID = pc_bottoming_Id errorIdKey pREL_ERR SLIT("error") errorTy +eRROR_ID = pc_bottoming_Id errorIdKey pREL_ERR FSLIT("error") errorTy errorTy :: Type errorTy = mkSigmaTy [openAlphaTyVar] [] (mkFunTys [mkListTy charTy] openAlphaTy)