From 065a02b5cf14a1303c9ab47f9db4235f2157cc98 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sun, 10 Dec 2006 22:31:02 +0000 Subject: [PATCH] Prevent breakpoint instrumentation of spliced code --- compiler/typecheck/TcSplice.lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/typecheck/TcSplice.lhs b/compiler/typecheck/TcSplice.lhs index 3302b23..56eb637 100644 --- a/compiler/typecheck/TcSplice.lhs +++ b/compiler/typecheck/TcSplice.lhs @@ -52,6 +52,7 @@ import ErrUtils import SrcLoc import Outputable import Unique +import DynFlags import PackageConfig import BasicTypes import Panic @@ -363,7 +364,7 @@ runMeta :: (SrcSpan -> th_syn -> Either Message hs_syn) -> TcM hs_syn -- Of type t runMeta convert expr = do { -- Desugar - ds_expr <- initDsTc (dsLExpr expr) + ds_expr <- unsetOptM Opt_Debugging $ initDsTc (dsLExpr expr) -- Compile and link it; might fail if linking fails ; hsc_env <- getTopEnv -- 1.7.10.4