X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftypecheck%2FTcDefaults.lhs;fp=ghc%2Fcompiler%2Ftypecheck%2FTcDefaults.lhs;h=758258b2955a6efd4d6ad13a0b39ef2565d7c302;hb=3160f854580e6d8df412c8cd34d93bae27175d67;hp=7335631009c7fa672eb03c2c4a05eec1ae5ac919;hpb=882e459f34c50e8a8d841178d6c8db54ca47add8;p=ghc-hetmet.git diff --git a/ghc/compiler/typecheck/TcDefaults.lhs b/ghc/compiler/typecheck/TcDefaults.lhs index 7335631..758258b 100644 --- a/ghc/compiler/typecheck/TcDefaults.lhs +++ b/ghc/compiler/typecheck/TcDefaults.lhs @@ -16,7 +16,7 @@ import TcEnv ( tcLookupClassByKey ) import TcMonoType ( tcHsType ) import TcSimplify ( tcSimplifyCheckThetas ) -import TysWiredIn ( intTy, doubleTy ) +import TysWiredIn ( integerTy, doubleTy ) import Type ( Type ) import Unique ( numClassKey ) import ErrUtils ( addShortErrLocLine ) @@ -25,7 +25,7 @@ import Util \end{code} \begin{code} -default_default = [intTy, doubleTy] -- language-specified default `default' +default_default = [integerTy, doubleTy ] tcDefaults :: [RenamedHsDecl] -> TcM s [Type] -- defaulting types to heave