projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca538c
)
Prevent breakpoint instrumentation of spliced code
author
Pepe Iborra
<mnislaih@gmail.com>
Sun, 10 Dec 2006 22:31:02 +0000
(22:31 +0000)
committer
Pepe Iborra
<mnislaih@gmail.com>
Sun, 10 Dec 2006 22:31:02 +0000
(22:31 +0000)
compiler/typecheck/TcSplice.lhs
patch
|
blob
|
history
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 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