Ticket #2822 (closed bug: fixed)
Arity expansion not working right
|Reported by:||simonpj||Owned by:||igloo|
|Type of failure:||Runtime performance bug||Difficulty:||Unknown|
|Test Case:||Blocked By:|
With GHC 6.10, the arity of GHC.Handle.openFile is reported as 2. But its definition is
openFile fp im = Prelude.catch (...) (...)
and Prelude.catch has arity 3. Somehow openFile isn't getting eta-expanded properly.
It's not a huge deal, but arity expansion is an important optimisation so I want to track places it isn't happening.