From 9acd03bddf3d603cf3df5d9e03937588e0e2dfb4 Mon Sep 17 00:00:00 2001 From: simonpj Date: Tue, 24 Jul 2001 16:09:48 +0000 Subject: [PATCH] [project @ 2001-07-24 16:09:48 by simonpj] wibble --- ghc/lib/std/PrelErr.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/lib/std/PrelErr.lhs b/ghc/lib/std/PrelErr.lhs index 0523aae..53daf03 100644 --- a/ghc/lib/std/PrelErr.lhs +++ b/ghc/lib/std/PrelErr.lhs @@ -1,5 +1,5 @@ % ----------------------------------------------------------------------------- -% $Id: PrelErr.lhs,v 1.20 2001/07/24 16:04:21 simonpj Exp $ +% $Id: PrelErr.lhs,v 1.21 2001/07/24 16:09:48 simonpj Exp $ % % (c) The University of Glasgow, 1994-2000 % @@ -52,7 +52,7 @@ error :: String -> a error s = throw (ErrorCall s) errorCString :: Addr# -> a -errorCString s = error (unpackCString s) +errorCString s = error (unpackCString# s) -- It is expected that compilers will recognize this and insert error -- messages which are more appropriate to the context in which undefined -- 1.7.10.4