summaryrefslogtreecommitdiff
path: root/compiler/iface/TcIface.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/iface/TcIface.hs')
-rw-r--r--compiler/iface/TcIface.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/iface/TcIface.hs b/compiler/iface/TcIface.hs
index 4cc9195045..818745775a 100644
--- a/compiler/iface/TcIface.hs
+++ b/compiler/iface/TcIface.hs
@@ -1367,7 +1367,7 @@ tcIfaceExpr (IfaceTick tickish expr) = do
-- If debug flag is not set: Ignore source notes
dbgLvl <- fmap debugLevel getDynFlags
case tickish of
- IfaceSource{} | dbgLvl > 0
+ IfaceSource{} | dbgLvl == 0
-> return expr'
_otherwise -> do
tickish' <- tcIfaceTickish tickish