X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FTidyPgm.lhs;h=8dabe4ed66b1e56b17f38ca88f0bfe685a4925e7;hp=dec5c6b0d3ed5b46d8120b588d3b029cb2fd2808;hb=e2782137c799a08711cac0844418cc0345a7ceb5;hpb=17b297d97d327620ed6bfab942f8992b2446f1bf diff --git a/compiler/main/TidyPgm.lhs b/compiler/main/TidyPgm.lhs index dec5c6b..8dabe4e 100644 --- a/compiler/main/TidyPgm.lhs +++ b/compiler/main/TidyPgm.lhs @@ -4,11 +4,11 @@ \section{Tidying up Core} \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings -- for details module TidyPgm( mkBootModDetails, tidyProgram ) where @@ -145,7 +145,6 @@ mkBootModDetails hsc_env (ModGuts { mg_module = mod , md_fam_insts = fam_insts , md_rules = [] , md_exports = exports - , md_modBreaks = modBreaks , md_vect_info = noVectInfo }) } @@ -304,14 +303,14 @@ tidyProgram hsc_env cg_dir_imps = dir_imps, cg_foreign = foreign_stubs, cg_dep_pkgs = dep_pkgs deps, - cg_hpc_info = hpc_info }, + cg_hpc_info = hpc_info, + cg_modBreaks = modBreaks }, ModDetails { md_types = tidy_type_env, md_rules = tidy_rules, md_insts = tidy_insts, md_fam_insts = fam_insts, md_exports = exports, - md_modBreaks = modBreaks, md_vect_info = vect_info -- is already tidy }) }