Ticket #2822 (closed bug: fixed)
Arity expansion not working right
| Reported by: | simonpj | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.10 branch |
| Component: | Compiler | Version: | 6.10.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Runtime performance bug | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
