X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcSplice.lhs;h=a99bf8b9e24ef1f5247cc31abbc8d149d21dad3c;hb=84923cc7de2a93c22a2f72daf9ac863959efae13;hp=56eb637363a76ae6a9a9c18288593517cc9ebe70;hpb=065a02b5cf14a1303c9ab47f9db4235f2157cc98;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcSplice.lhs b/compiler/typecheck/TcSplice.lhs index 56eb637..a99bf8b 100644 --- a/compiler/typecheck/TcSplice.lhs +++ b/compiler/typecheck/TcSplice.lhs @@ -364,8 +364,11 @@ runMeta :: (SrcSpan -> th_syn -> Either Message hs_syn) -> TcM hs_syn -- Of type t runMeta convert expr = do { -- Desugar +#if defined(GHCI) && defined(DEBUGGER) ds_expr <- unsetOptM Opt_Debugging $ initDsTc (dsLExpr expr) - +#else + ds_expr <- initDsTc (dsLExpr expr) +#endif -- Compile and link it; might fail if linking fails ; hsc_env <- getTopEnv ; src_span <- getSrcSpanM