[Hackage] #776: cabal check gives invalid duplicate modules warning

Hackage cvs-ghc at haskell.org
Sun Dec 12 01:29:41 CET 2010


#776: cabal check gives invalid duplicate modules warning
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.8.0.2
  Severity:  minor          |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
----------------------------+-----------------------------------------------
Changes (by duncan):

  * severity:  normal => minor


Comment:

 Note also that if we improve this test then your example will still be
 rejected, because conditionally exposed modules are not reasonable. The
 exported API is supposed to be independent of the flags, because by design
 we do not allow dependencies to specify flags (while you might imagine
 that's possible in principle, such dependencies could not be translated
 into distro packages).

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/776#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list