Skip to content
Snippets Groups Projects
Commit 1cb9e979 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Simplify the code a bit.

parent d3fb0e0a
No related branches found
No related tags found
No related merge requests found
......@@ -741,7 +741,7 @@ reportBuildTargetProblems problems = do
| (thing, alts) <- alternatives ]
| (inside, nosuch') <- groupByContainer nosuch
, let alternatives =
[ (thing, take 10 alts) --TODO: select best ones
[ (thing, alts)
| (thing,_got,alts@(_:_)) <- nosuch' ]
]
| (target, nosuch) <- targets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment