[GHC] #16261: Mysterious rule shadowing warning

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

 Yes, that's it. But the module doesn't even enable `OverloadedLists`. And
 why would we ''ever'' want `[]` to be interpreted as an overloaded list on
 a rule LHS? That makes no sense at all.

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


More information about the ghc-tickets mailing list