projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevent breakpoint instrumentation of spliced code
[ghc-hetmet.git]
/
compiler
/
typecheck
/
TcSplice.lhs
diff --git
a/compiler/typecheck/TcSplice.lhs
b/compiler/typecheck/TcSplice.lhs
index
3302b23
..
56eb637
100644
(file)
--- a/
compiler/typecheck/TcSplice.lhs
+++ b/
compiler/typecheck/TcSplice.lhs
@@
-52,6
+52,7
@@
import ErrUtils
import SrcLoc
import Outputable
import Unique
import SrcLoc
import Outputable
import Unique
+import DynFlags
import PackageConfig
import BasicTypes
import Panic
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
-> 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
-- Compile and link it; might fail if linking fails
; hsc_env <- getTopEnv