[Hackage] #817: "main-is" misparsed in if/else, only by sdist

Hackage cvs-ghc at haskell.org
Mon Jun 20 19:38:14 CEST 2011


#817: "main-is" misparsed in if/else, only by sdist
----------------------------+-----------------------------------------------
  Reporter:  jeffwheeler    |        Owner:          
      Type:  defect         |       Status:  new     
  Priority:  normal         |    Milestone:          
 Component:  Cabal library  |      Version:  1.10.0.0
  Severity:  normal         |     Keywords:          
Difficulty:  unknown        |   Ghcversion:          
  Platform:                 |  
----------------------------+-----------------------------------------------

Comment(by duncan):

 Another example http://hpaste.org/48025

 Two problems: one is the way sdist uses flatten, and the other is that
 monoid instance for main-is concatenates rather than picks the last. sdist
 should not use flatten, it needs to get the collection of values.

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



More information about the cabal-devel mailing list