[GHC] #10569: Optionally treat an out-of-scope variable like a typed hole

GHC ghc-devs at haskell.org
Sun Jun 5 18:17:46 UTC 2016


#10569: Optionally treat an out-of-scope variable like a typed hole
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 ertes, can you please give a more in-depth description of what is causing
 you problems? I think the only difference with this patch is that
 out-of-scope errors also give the type of the variable which isn't in
 scope.

 Are you also using `-fdefer-type-errors`?

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


More information about the ghc-tickets mailing list