Skip to content

Commit 940c535

Browse files
committed
Unset dynflags rather than change their values
1 parent 73c55f8 commit 940c535

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Diff for: plugins/hls-tactics-plugin/src/Wingman/StaticPlugin.hs

+2-6
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ staticPlugin = mempty
2020
{ dynFlagsModifyGlobal =
2121
\df -> allowEmptyCaseButWithWarning
2222
$ flip gopt_unset Opt_SortBySubsumHoleFits
23+
$ flip gopt_unset Opt_ShowValidHoleFits
2324
$ df
24-
{ refLevelHoleFits = Just 0
25-
, maxRefHoleFits = Just 0
26-
, maxValidHoleFits = Just 0
2725
#if __GLASGOW_HASKELL__ >= 808
28-
, staticPlugins = staticPlugins df <> [metaprogrammingPlugin]
29-
#endif
26+
{ staticPlugins = staticPlugins df <> [metaprogrammingPlugin]
3027
}
31-
#if __GLASGOW_HASKELL__ >= 808
3228
, dynFlagsModifyParser = enableQuasiQuotes
3329
#endif
3430
}

0 commit comments

Comments
 (0)