on master help sign in
Enable -fwarn-redundant-constraints in `ob run`
commit2f4cb563b136c1b1901b130de1f0eddbee9659f5 authorRyan Trinkle <ryan.trinkle@gmail.com> dateThu 19 Jul 2018, 22:46 (8 years ago) parent4cd35d9
1 file changed+2−1
lib/command/src/Obelisk/Command/Run.hs+2−1
lib/command/src/Obelisk/Command/Run.hs+2−1
@@ -122,7 +122,8 @@ runGhcid dotGhci mcmd = callCommand $ unwords $ "ghcid" : opts
122122 where
123123 opts =
124124 [ "-W"
125− , "--command='ghci -Wall -ghci-script " <> dotGhci <> "' "
125+ --TODO: The decision of whether to use -fwarn-redundant-constraints should probably be made by the user
126+ , "--command='ghci -Wall -fwarn-redundant-constraints -ghci-script " <> dotGhci <> "' "
126127 , "--reload=config"
127128 , "--outputfile=ghcid-output.txt"
128129 ] <> testCmd