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:
19b0b16
)
Build fix: modBreaks -> modBreaks_decls modbreaks
author
Michael D. Adams
<adamsmd@cs.indiana.edu>
Wed, 22 Aug 2007 18:36:32 +0000
(18:36 +0000)
committer
Michael D. Adams
<adamsmd@cs.indiana.edu>
Wed, 22 Aug 2007 18:36:32 +0000
(18:36 +0000)
compiler/main/InteractiveEval.hs
patch
|
blob
|
history
diff --git
a/compiler/main/InteractiveEval.hs
b/compiler/main/InteractiveEval.hs
index
9c28c84
..
3530d78
100644
(file)
--- a/
compiler/main/InteractiveEval.hs
+++ b/
compiler/main/InteractiveEval.hs
@@
-177,7
+177,7
@@
findEnclosingDeclSpanByTick hsc_env mod tick =
Nothing -> panic "findEnclosingDecl"
Just hmi -> let
modbreaks = md_modBreaks (hm_details hmi)
- in ASSERT (inRange (bounds modBreaks) tick)
+ in ASSERT (inRange (bounds (modBreaks_decls modbreaks)) tick)
modBreaks_decls modbreaks ! tick
-- | Find the Module corresponding to a FilePath