projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put context information for warnings in errMsgExtraInfo.
[ghc-hetmet.git]
/
compiler
/
typecheck
/
TcSplice.lhs
diff --git
a/compiler/typecheck/TcSplice.lhs
b/compiler/typecheck/TcSplice.lhs
index
ed025ae
..
f5c3ab8
100644
(file)
--- a/
compiler/typecheck/TcSplice.lhs
+++ b/
compiler/typecheck/TcSplice.lhs
@@
-821,7
+821,7
@@
instance TH.Quasi (IOEnv (Env TcGblEnv TcLclEnv)) where
; return (TH.mkNameU s i) }
qReport True msg = addErr (text msg)
- qReport False msg = addReport (text msg)
+ qReport False msg = addReport (text msg) empty
qLocation = do { m <- getModule
; l <- getSrcSpanM