Commit 099bd6fc authored by dterei's avatar dterei

Include package_flags in allFlags list.

This means ghci now correctly picks up the package flags
for tab completion.
parent 45580e34
......@@ -1337,7 +1337,7 @@ safeFlagCheck dflags =
allFlags :: [String]
allFlags = map ('-':) $
[ flagName flag | flag <- dynamic_flags, ok (flagOptKind flag) ] ++
[ flagName flag | flag <- dynamic_flags ++ package_flags, ok (flagOptKind flag) ] ++
map ("fno-"++) fflags ++
map ("f"++) fflags ++
map ("X"++) supportedExtensions
......
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