summaryrefslogtreecommitdiff
path: root/compiler/nativeGen
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-09-15 20:44:28 +0100
committerIan Lynagh <igloo@earth.li>2011-10-12 16:30:31 +0100
commitb59fe25a24c4b913a9935c71b1b42a060ab53dcc (patch)
treea55c7006c021426968923f5249e86b33cce1dbd2 /compiler/nativeGen
parent2a9f42095cb2d9aace991b11bf052d12ca654ef8 (diff)
downloadhaskell-b59fe25a24c4b913a9935c71b1b42a060ab53dcc.tar.gz
Follow the removal of the Show superclass of Num
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r--compiler/nativeGen/SPARC/Base.hs2
1 files changed, 1 insertions, 1 deletions
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;" ++