X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FdeSugar%2FDsExpr.lhs;h=de10fcd5ca3f64042edb6f59cd32b6375f45c30e;hb=e1db55d8bd07c79bae30f548e597f709dd029155;hp=2b26091ee4944eb8b45919ab9e4f30b4da03d54d;hpb=55db5c327ad5931daecb84078c7abffb27bed1d8;p=ghc-hetmet.git diff --git a/ghc/compiler/deSugar/DsExpr.lhs b/ghc/compiler/deSugar/DsExpr.lhs index 2b26091..de10fcd 100644 --- a/ghc/compiler/deSugar/DsExpr.lhs +++ b/ghc/compiler/deSugar/DsExpr.lhs @@ -22,7 +22,7 @@ import TcHsSyn ( TypecheckedHsExpr, TypecheckedHsBinds, import CoreSyn import DsMonad -import DsBinds ( dsMonoBinds ) +import DsBinds ( dsMonoBinds, AutoScc(..) ) import DsGRHSs ( dsGuarded ) import DsCCall ( dsCCall ) import DsListComp ( dsListComp ) @@ -99,7 +99,7 @@ dsLet (MonoBind (AbsBinds [] [] binder_triples (PatMonoBind pat grhss loc)) sigs -- Ordinary case for bindings dsLet (MonoBind binds sigs is_rec) body - = dsMonoBinds False binds [] `thenDs` \ prs -> + = dsMonoBinds NoSccs binds [] `thenDs` \ prs -> case is_rec of Recursive -> returnDs (Let (Rec prs) body) NonRecursive -> returnDs (foldr mk_let body prs)