[project @ 2001-03-28 05:07:34 by kglynn]
authorkglynn <unknown>
Wed, 28 Mar 2001 05:07:34 +0000 (05:07 +0000)
committerkglynn <unknown>
Wed, 28 Mar 2001 05:07:34 +0000 (05:07 +0000)
commit74b4c58271500bb1ad5a527b41994a5a93f7739a
tree9358f7603aa511a67dd49c65b4747ec0d2e45b0d
parent104baabc81fb73ef681c46dd4e0e6ff5d7117d9e
[project @ 2001-03-28 05:07:34 by kglynn]
Cpr needs the correct arity for an imported function.  In some cases
the arity reported in the interface can be too small.

In this test case the function is returning a newtype,  and the newtype
is hiding a function.  The arity in the interface file says 0.  It is
triggered by compiling the cpr001.hs test files with profiling on. The code
comes from a bug report.

I should look for a better case,  because the profiling flaw which reveals
this problem will hopefully go away some time.
ghc/tests/cpranal/Makefile [new file with mode: 0644]
ghc/tests/cpranal/should_compile/Cpr001.hs [new file with mode: 0644]
ghc/tests/cpranal/should_compile/Cpr001_imp.hs [new file with mode: 0644]
ghc/tests/cpranal/should_compile/Makefile [new file with mode: 0644]