[GHC] #16261: Mysterious rule shadowing warning

GHC ghc-devs at haskell.org
Thu Jan 31 09:46:40 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 mpickering):

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

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


More information about the ghc-tickets mailing list