[GHC] #10781: Qualified use of undefined name starting with underscore considered a hole

GHC ghc-devs at haskell.org
Wed Aug 19 16:45:37 UTC 2015


#10781: Qualified use of undefined name starting with underscore considered a hole
-------------------------------------+-------------------------------------
              Reporter:  EyalLotem   |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.10.2
              Keywords:  holes       |  Operating System:  Unknown/Multiple
  qualified                          |
          Architecture:              |   Type of failure:  Incorrect
  Unknown/Multiple                   |  warning at compile-time
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 `Foo._name` is reported as an error `..: Found hole ...`.

 It doesn't make much sense to use qualified holes like that, so it is not
 useful to treat such qualified names as holes.

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


More information about the ghc-tickets mailing list