[Hackage] #388: Add a warning for unknown modules that were compiled

Hackage trac at galois.com
Sat Nov 1 11:47:21 EDT 2008


#388: Add a warning for unknown modules that were compiled
----------------------------+-----------------------------------------------
  Reporter:  jcpetruzza     |        Owner:       
      Type:  enhancement    |       Status:  new  
  Priority:  normal         |    Milestone:       
 Component:  Cabal library  |      Version:       
  Severity:  normal         |     Keywords:       
Difficulty:  normal         |   Ghcversion:  6.8.3
  Platform:                 |  
----------------------------+-----------------------------------------------
 Let's say you are working on a new version of a library; you add a new
 internal (i.e. non-exposed) module but you forget to update the package
 description. You locally test your changes, everything works fine so you
 install it. Now, since the new module is not listed in {{{other-modules}}}
 it will not be included in the final library. Therefore, when you try to
 use it you get rather cryptic linker errors. It can take a while until you
 realize where the problem is coming from.

 The proposal is to look, during build, for compiled modules under the
 {{{dist}}} directory that are not included in the final library and warn
 the user about  their presence.

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


More information about the cabal-devel mailing list