#1837: ghc-pkg should not accept unversioned depends
------------------------------+---------------------------------------------
 Reporter:  duncan            |          Owner:  igloo           
     Type:  bug               |         Status:  reopened        
 Priority:  normal            |      Milestone:  6.8.2           
Component:  Build System      |        Version:  6.8.1           
 Severity:  normal            |     Resolution:                  
 Keywords:                    |     Difficulty:  Easy (1 hr)     
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Changes (by duncan):

  * status:  closed => reopened
  * type:  merge => bug
  * resolution:  fixed =>

Comment:

 It seems there is a regression here. See #2705. Apparently unversionend
 dependencies are silently allowed.

 It might be that's because "foo" gets parsed as a package id as `PackageId
 "foo" (Version [] [])`, ie an empty version.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1837#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to