[GHC] #8848: Warning: Rule too complicated to desugar

GHC ghc-devs at haskell.org
Sat Mar 14 09:40:36 UTC 2015


#8848: Warning: Rule too complicated to desugar
-------------------------------------+-------------------------------------
        Reporter:  carter            |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:  7.10.1
       Component:  Compiler          |                 Version:  7.8.1-rc2
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |  simplCore/should_compile/T8848,
                                     |  T8848a
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by yongqli):

 @thomie: We are stuck on GHC 7.8 for now :(.

 For what it's worth, I was able to work around the problem using the RULES
 method. I set the rule to fire after phase 1, so that "map2" would have
 already been inlined away, thus preventing an infinite loop.

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


More information about the ghc-tickets mailing list