[GHC] #4946: reify does not work on data structures defined in files without Language pragma of Template Haskell and without -fth or -XTemplateHaskell command line flags

GHC cvs-ghc at haskell.org
Thu Sep 15 14:19:58 CEST 2011


#4946: reify does not work on data structures defined in files without Language
pragma of Template Haskell and without -fth or -XTemplateHaskell command
line flags
---------------------------+------------------------------------------------
  Reporter:  guest         |          Owner:        
      Type:  bug           |         Status:  closed
  Priority:  normal        |      Milestone:  7.4.1 
 Component:  GHCi          |        Version:  7.0.1 
Resolution:  invalid       |       Keywords:        
  Testcase:                |      Blockedby:        
Difficulty:                |             Os:  Linux 
  Blocking:                |   Architecture:  x86   
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------

Comment(by simonmar):

 I was surprised by this.  Should TH really be able to get at the parts of
 datatypes that were not exported?

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



More information about the Glasgow-haskell-bugs mailing list