Skip to content

Commit

Permalink
Unset dynflags rather than change their values
Browse files Browse the repository at this point in the history
  • Loading branch information
isovector committed Jul 21, 2021
1 parent 73c55f8 commit 940c535
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions plugins/hls-tactics-plugin/src/Wingman/StaticPlugin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ staticPlugin = mempty
{ dynFlagsModifyGlobal =
\df -> allowEmptyCaseButWithWarning
$ flip gopt_unset Opt_SortBySubsumHoleFits
$ flip gopt_unset Opt_ShowValidHoleFits
$ df
{ refLevelHoleFits = Just 0
, maxRefHoleFits = Just 0
, maxValidHoleFits = Just 0
#if __GLASGOW_HASKELL__ >= 808
, staticPlugins = staticPlugins df <> [metaprogrammingPlugin]
#endif
{ staticPlugins = staticPlugins df <> [metaprogrammingPlugin]
}
#if __GLASGOW_HASKELL__ >= 808
, dynFlagsModifyParser = enableQuasiQuotes
#endif
}
Expand Down

0 comments on commit 940c535

Please sign in to comment.