X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcSimplify.lhs;h=d433a8c86c3fa7ba646a17cb3efdbd74bb54a08b;hb=cdce647711c0f46f5799b24de087622cb77e647f;hp=7311ae0be82c2bca14d14a707bb84016aaa87302;hpb=d4b95ea994e850f2c85e418b5625874fd25b0ebf;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcSimplify.lhs b/compiler/typecheck/TcSimplify.lhs index 7311ae0..d433a8c 100644 --- a/compiler/typecheck/TcSimplify.lhs +++ b/compiler/typecheck/TcSimplify.lhs @@ -2320,8 +2320,8 @@ disambigGroup default_tys dicts getDefaultTys :: Bool -> Bool -> TcM [Type] getDefaultTys extended_deflts ovl_strings = do { mb_defaults <- getDeclaredDefaultTys - ; case mb_defaults of - Just tys -> return tys -- User-supplied defaults + ; case mb_defaults of { + Just tys -> return tys ; -- User-supplied defaults Nothing -> do -- No use-supplied default @@ -2334,7 +2334,7 @@ getDefaultTys extended_deflts ovl_strings ++ [integer_ty,doubleTy] ++ - opt_deflt ovl_strings string_ty) }} + opt_deflt ovl_strings string_ty) } } } where opt_deflt True ty = [ty] opt_deflt False ty = []