Commit 9732bfc8 authored by Jason Dagit's avatar Jason Dagit Committed by Mikhail Glushenkov
Browse files

Make changes requested in PR #3969

parent 7c95dccf
......@@ -737,7 +737,7 @@ reportBuildTargetProblems problems = do
| (thing, got, _alts) <- nosuch' ] ++ "."
++ if null alternatives then "" else
"\nPerhaps you meant " ++ intercalate ";\nor "
[ "the " ++ thing ++ " " ++ intercalate " or " alts
[ "the " ++ thing ++ " '" ++ intercalate "' or '" alts ++ "'?"
| (thing, alts) <- alternatives ]
| (inside, nosuch') <- groupByContainer nosuch
, let alternatives =
......
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