Mon Dec 8 09:32:41 PST 2008 [EMAIL PROTECTED]
* Add assertion for arity match (checks Trac #2844)
The exported arity of a function must match the arity for the
STG function. Trac #2844 was a pretty obscure manifestation of
the failure of this invariant. This patch doesn't cure the bug;
rather it adds an assertion to CoreToStg to check the invariant
so we should get an earlier and less obscure warning if this
fails in future.
M ./compiler/stgSyn/CoreToStg.lhs -15 +39
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081208173241-1287e-7c1cd09e73339d029e153f8c67a1e6c1ef53ab6d.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc