[GHC] #12034: Template Haskell + hs-boot = Not in scope during type checking, but it passed the renamer

GHC ghc-devs at haskell.org
Thu May 19 15:36:07 UTC 2016


#12034: Template Haskell + hs-boot = Not in scope during type checking, but it
passed the renamer
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.1-rc2
      Resolution:                    |             Keywords:  backpack hs-
                                     |  boot
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 ezyang):

 How do would you suggest we actually do the retypechecking? For example,
 in GhcMake we can retypecheck because we're responsible for managing the
 HPT; but the retypecheck would have to work within the typechecker code.

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


More information about the ghc-tickets mailing list