Fixed warning with the flag -fwarn-missing-import-lists.

Andrés Sicard-Ramírez andres.sicard.ramirez at gmail.com
Fri Dec 23 15:26:25 CET 2011


Hi,

Using the flag -fwarn-missing-import-lists with cabal-install the line

import Data.Version (Version(..))

in the generated module Paths_xxx.hs yields a warning due to the use
of the (..) form of import (see
http://hackage.haskell.org/trac/ghc/ticket/4489 ).

The attached patch fix this issue.

Best regards,

-- 
Andrés
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-warning-with-fwarn-missing-import-lists.dpatch
Type: application/octet-stream
Size: 30745 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20111223/62d767ae/attachment-0001.obj>


More information about the cabal-devel mailing list