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:
27a8589
)
[project @ 2003-09-23 15:10:43 by simonpj]
author
simonpj
<unknown>
Tue, 23 Sep 2003 15:10:43 +0000
(15:10 +0000)
committer
simonpj
<unknown>
Tue, 23 Sep 2003 15:10:43 +0000
(15:10 +0000)
Add more informative assertion
ghc/compiler/stgSyn/CoreToStg.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/stgSyn/CoreToStg.lhs
b/ghc/compiler/stgSyn/CoreToStg.lhs
index
603d2dd
..
8fdc003
100644
(file)
--- a/
ghc/compiler/stgSyn/CoreToStg.lhs
+++ b/
ghc/compiler/stgSyn/CoreToStg.lhs
@@
-257,7
+257,7
@@
mkTopStgRhs is_static rhs_fvs srt binder_info (StgConApp con args)
= StgRhsCon noCCS con args
mkTopStgRhs is_static rhs_fvs srt binder_info rhs
- = ASSERT( not is_static )
+ = ASSERT2( not is_static, ppr rhs )
StgRhsClosure noCCS binder_info
(getFVs rhs_fvs)
Updatable