Commit cb6603a1 authored by kristenk's avatar kristenk
Browse files

Add comment about filtering package warnings in solver DSL.

parent 4a70790c
......@@ -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 ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment