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

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


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 ).

The attached patch fix this issue.

Best regards,

-------------- 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: <>

More information about the cabal-devel mailing list