Commit 1cb9e979 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Simplify the code a bit.

parent d3fb0e0a
......@@ -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
......
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