diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-07-05 11:31:32 -0400 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-07-18 20:55:11 -0400 |
commit | d238d3062a9858fef667c6fbf80605b8209a937f (patch) | |
tree | cd3909a52e44d04f3013c07dd0a0cbb4c9c6d005 /compiler/main/DynFlags.hs | |
parent | b9e9d8c97cc6f3f96466969a48a03f7be5999de2 (diff) | |
download | haskell-d238d3062a9858fef667c6fbf80605b8209a937f.tar.gz |
Fix formatting of --info's "Debug on" field
As noted in #16914, the value `True` was used instead of `YES` here, in
contrast to the other boolean fields emitted by `--info`. This confused
the testsuite driver and broke the `ghc_debugged` testsuite predicate.
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r-- | compiler/main/DynFlags.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 1f7de170a9..448e914ce6 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -5693,7 +5693,7 @@ compilerInfo dflags ("GHC Dynamic", showBool dynamicGhc), -- Whether or not GHC was compiled using -prof ("GHC Profiled", showBool rtsIsProfiled), - ("Debug on", show debugIsOn), + ("Debug on", showBool debugIsOn), ("LibDir", topDir dflags), -- The path of the global package database used by GHC ("Global Package DB", systemPackageConfig dflags) |