[GHC] #4491: dataToQa uses only unqualified names when converting values to their TH representation.

GHC cvs-ghc at haskell.org
Fri Nov 19 10:50:59 EST 2010


#4491: dataToQa uses only unqualified names when converting values to their TH
representation.
---------------------------------+------------------------------------------
    Reporter:  gmainland         |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  7.2.1       
   Component:  Template Haskell  |      Version:  6.12.3      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonpj):

 Hang on.  The `NameFlavour` type already has a `NameG` constructor that
 lets you construct an original name.  You supply the module name and
 package and away you go.  It may not be exported properly, but isn't that
 what you need?

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


More information about the Glasgow-haskell-bugs mailing list