[GHC] #9988: Remove fun_id, is_infix from FunBind, as they are now in Match

GHC ghc-devs at haskell.org
Sat Jan 31 12:32:15 UTC 2015


#9988: Remove fun_id, is_infix from FunBind, as they are now in Match
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                   Owner:  alanz
            Type:  task              |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.10.1-rc1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by alanz):

 Phab:D639 refers, which does not close this ticket, but is just the first
 step toward it.

 I strongly believe I am not introducing new bugs as it is a simple
 addition to rnMatch' with pure code that only sets a variable that is
 ignored in the rest of the compilation process, being introduced
 specifically for API Annotations.

 In terms of motivation, the current HaRe model is to do analysis on the
 RenamedSource, then transform the ParsedSource. Having funcction id
 locations available in all Match variants is vital.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9988#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list