#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 gmainland):

 Yes, that along with (2) from above is what I need---I meant (1) and (2)
 to be mutually exclusive, sorry. The difficulty is getting the package
 name from just a module name. I have a small patch to HEAD that adds a
 `qModPackage` member of type `ModName -> m PkgName` to the `Quasi` monad
 and an implementation in `TcSplice.lhs`. I think that solves my problem,
 but I haven't fully tested the patch.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4491#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to