diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2011-09-09 10:04:55 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2011-09-09 10:04:55 +0100 |
commit | 1466b0ca760a18afbcab9c4128f6a05d220a5968 (patch) | |
tree | e1495fea90afa016cb5054d9dba9ea249b678748 /compiler/codeGen | |
parent | c2b1e0da0409e04ba08b6ff876486bd8463510a2 (diff) | |
download | haskell-1466b0ca760a18afbcab9c4128f6a05d220a5968.tar.gz |
Obey the exprArity invariants! Fixes Trac #5441
We were giving arity 2 to a function whose type was
Int -> Any
That contradicts the exprArity invariant
(see Note [exprArity invariant] in CoreArity), and
in turn led to function whose actually code-generated arity
was different that advertised in the interface file.
Result: seg-fault city.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions