Skip to content

Commit

Permalink
Add missing gtLowerBound to checks
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 18, 2024
1 parent ace1393 commit 56622c1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,8 @@ exAvSrcPkg ex =
let checks = C.checkPackage (srcpkgDescription package)
in
filter (\x ->
not (isLeqUpperBound x)
not (isgtLowerBound x)
&& not (isLeqUpperBound x)
&& not (isTrailingZeroUpperBound x)
&& not (isMissingUpperBound x)
&& not (isUnknownLangExt x))
Expand Down Expand Up @@ -729,6 +730,10 @@ exAvSrcPkg ex =
isLeqUpperBound pc = case C.explanation pc of
C.LEQUpperBounds{} -> True
_ -> False
isgtLowerBound :: C.PackageCheck -> Bool
isgtLowerBound pc = case C.explanation pc of
C.GTLowerBounds{} -> True
_ -> False

mkSimpleVersion :: ExamplePkgVersion -> C.Version
mkSimpleVersion n = C.mkVersion [n, 0, 0]
Expand Down

0 comments on commit 56622c1

Please sign in to comment.