X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FInst.lhs;h=5474cfa3cb9bf7ee064c67d64a36f864378f7d52;hp=8db1aebe8a7070f4a23d3b30ea476b78e6100267;hb=6ddfe9b18d4d280676aab2fa797ddbe6f8a09d6b;hpb=3391a03562d4056de7b16cd0f632e6c43ae44cca diff --git a/compiler/typecheck/Inst.lhs b/compiler/typecheck/Inst.lhs index 8db1aeb..5474cfa 100644 --- a/compiler/typecheck/Inst.lhs +++ b/compiler/typecheck/Inst.lhs @@ -56,7 +56,6 @@ import PrelNames import SrcLoc import DynFlags import Bag -import BasicTypes import Maybes import Util import Outputable @@ -277,7 +276,7 @@ mkOverLit (HsIntegral i) mkOverLit (HsFractional r) = do { rat_ty <- tcMetaTy rationalTyConName - ; return (HsRat (fl_value r) rat_ty) } + ; return (HsRat r rat_ty) } mkOverLit (HsIsString s) = return (HsString s) \end{code}