[GHC] #12451: TemplateHaskell and Data.Typeable - tcIfaceGlobal (local): not found

GHC ghc-devs at haskell.org
Sat May 26 14:15:40 UTC 2018


#12451: TemplateHaskell and Data.Typeable - tcIfaceGlobal (local): not found
-------------------------------------+-------------------------------------
        Reporter:  mkloczko          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  TemplateHaskell, Typeable
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  GHC rejects       |  (amd64)
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 In GHC 8.4 and HEAD, the error message has changed:

 {{{
 $ /opt/ghc/head/bin/ghc -fforce-recomp Main.hs
 [1 of 2] Compiling TH               ( TH.hs, TH.o )
 [2 of 2] Compiling Main             ( Main.hs, Main.o )
 GHC error in desugarer lookup in Main:
   attempting to use module ‘main:Main’ (Main.hs) which is not loaded
 }}}

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


More information about the ghc-tickets mailing list