Skip to content

Commit

Permalink
Add comment about filtering package warnings in solver DSL.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
grayjay committed Oct 23, 2016
1 parent 4a70790 commit e5bf467
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ exAvSrcPkg ex =
}
}
pkgCheckErrors =
-- We ignore these warnings because some unit tests test that the
-- solver allows unknown extensions/languages when the compiler
-- supports them.
let ignore = ["Unknown extensions:", "Unknown languages:"]
in [ err | err <- C.checkPackage (packageDescription package) Nothing
, not $ any (`isPrefixOf` C.explanation err) ignore ]
Expand Down

0 comments on commit e5bf467

Please sign in to comment.