#2555: Template Haskell does not respect -package and -hide constraints
-------------------------------+--------------------------------------------
  Reporter:  guest             |          Owner:                  
      Type:  bug               |         Status:  new             
  Priority:  normal            |      Milestone:  6.12 branch     
 Component:  Template Haskell  |        Version:  6.8.2           
Resolution:                    |       Keywords:                  
Difficulty:  Unknown           |             Os:  Linux           
  Testcase:                    |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |  
-------------------------------+--------------------------------------------
Changes (by duncan):

  * failure:  => None/Unknown

Comment:

 Replying to [comment:6 simonmar]:
 > We don't dispute there's a bug here, but it can't be as simple as just
 "TH ignores the package flags".

 My current guess is that stale .hi files refer to another version of a
 package, so despite what the -package flags say we pull in two versions of
 a package when TH runs.

 That said, this should only happen if there are multiple versions of a
 package in the package graph. So perhaps this doesn't explain what gwern
 reported.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2555#comment:8>
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