[GHC] #16261: Mysterious rule shadowing warning

GHC ghc-devs at haskell.org
Thu Jan 31 09:47:59 UTC 2019


#16261: Mysterious rule shadowing warning
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.10.1
       Component:  Compiler          |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  error/warning at compile-time      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:1 mpickering]:
 > I think it's because of the overloaded list `[1]` which desugars to a
 call to `fromListN`.

 That's ... not a list. It's a rule phase.

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


More information about the ghc-tickets mailing list