Skip to content

Commit

Permalink
Fix Stackoverflow in #1432
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Feb 11, 2016
1 parent f938a7a commit 98faf34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Paket.Core/PackageResolver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,11 @@ let calcOpenRequirements (exploredPackage:ResolvedPackage,globalFrameworkRestric
exploredPackage.Dependencies
|> Set.filter (fun (name,_,_) -> hashSet.Add name)

let rest = Set.remove dependency stillOpen

let rest =
stillOpen
|> Seq.filter ((<>) dependency)
|> Set.ofSeq

dependenciesByName
|> Set.map (fun (n, v, restriction) ->
let newRestrictions =
Expand Down

0 comments on commit 98faf34

Please sign in to comment.