X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FdeSugar%2FDsListComp.lhs;h=7147a4a16f600608268dae6bfe4bacf8340314e7;hb=44f98be5b3bc7aaf2c5961667b16ee8eca3e67c1;hp=5f55784bd3cd6bd48d527baf2df67245645f82bc;hpb=5c96b286de5f32dfaff1fa81712a3dee3d5e6329;p=ghc-hetmet.git diff --git a/ghc/compiler/deSugar/DsListComp.lhs b/ghc/compiler/deSugar/DsListComp.lhs index 5f55784..7147a4a 100644 --- a/ghc/compiler/deSugar/DsListComp.lhs +++ b/ghc/compiler/deSugar/DsListComp.lhs @@ -132,8 +132,8 @@ deListComp (GuardStmt guard locn : quals) list -- rule B above -- [e | let B, qs] = let B in [e | qs] deListComp (LetStmt binds : quals) list - = dsBinds Nothing binds `thenDs` \ core_binds -> - deListComp quals list `thenDs` \ core_rest -> + = dsBinds False{-don't auto scc-} binds `thenDs` \ core_binds -> + deListComp quals list `thenDs` \ core_rest -> returnDs (mkCoLetsAny core_binds core_rest) deListComp (BindStmt pat list1 locn : quals) core_list2 -- rule A' above @@ -200,8 +200,8 @@ dfListComp c_ty c_id n_ty n_id (GuardStmt guard locn : quals) dfListComp c_ty c_id n_ty n_id (LetStmt binds : quals) -- new in 1.3, local bindings - = dsBinds Nothing binds `thenDs` \ core_binds -> - dfListComp c_ty c_id n_ty n_id quals `thenDs` \ core_rest -> + = dsBinds False{-don't auto scc-} binds `thenDs` \ core_binds -> + dfListComp c_ty c_id n_ty n_id quals `thenDs` \ core_rest -> returnDs (mkCoLetsAny core_binds core_rest) dfListComp c_ty c_id n_ty n_id (BindStmt pat list1 locn : quals)