From b59fe25a24c4b913a9935c71b1b42a060ab53dcc Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 15 Sep 2011 20:44:28 +0100 Subject: Follow the removal of the Show superclass of Num --- compiler/nativeGen/SPARC/Base.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler') diff --git a/compiler/nativeGen/SPARC/Base.hs b/compiler/nativeGen/SPARC/Base.hs index fa79cece92..a77bc2dd0b 100644 --- a/compiler/nativeGen/SPARC/Base.hs +++ b/compiler/nativeGen/SPARC/Base.hs @@ -66,7 +66,7 @@ is32BitInteger i -- | Sadness. -largeOffsetError :: Integral a => a -> b +largeOffsetError :: (Integral a, Show a) => a -> b largeOffsetError i = panic ("ERROR: SPARC native-code generator cannot handle large offset (" ++ show i ++ ");\nprobably because of large constant data structures;" ++ -- cgit v1.2.1