Warning police: eliminate all defaulting within stage1
[ghc-hetmet.git] / compiler / utils / Pretty.lhs
index 96ea1fb..51ecf31 100644 (file)
@@ -446,7 +446,7 @@ int      n = text (show n)
 integer  n = text (show n)
 float    n = text (show n)
 double   n = text (show n)
-rational n = text (show (fromRat n))
+rational n = text (show (fromRat n :: Double))
 --rational n = text (show (fromRationalX n)) -- _showRational 30 n)
 
 quotes p        = char '`' <> p <> char '\''