Skip to content

Commit 97a8a4d

Browse files
committed
Revert "Unset dynflags rather than change their values"
This reverts commit 940c535.
1 parent a5746ff commit 97a8a4d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

plugins/hls-tactics-plugin/src/Wingman/StaticPlugin.hs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ staticPlugin = mempty
2020
{ dynFlagsModifyGlobal =
2121
\df -> allowEmptyCaseButWithWarning
2222
$ flip gopt_unset Opt_SortBySubsumHoleFits
23-
$ flip gopt_unset Opt_ShowValidHoleFits
2423
$ df
24+
{ refLevelHoleFits = Just 0
25+
, maxRefHoleFits = Just 0
26+
, maxValidHoleFits = Just 0
2527
#if __GLASGOW_HASKELL__ >= 808
26-
{ staticPlugins = staticPlugins df <> [metaprogrammingPlugin]
28+
, staticPlugins = staticPlugins df <> [metaprogrammingPlugin]
29+
#endif
2730
}
31+
#if __GLASGOW_HASKELL__ >= 808
2832
, dynFlagsModifyParser = enableQuasiQuotes
2933
#endif
3034
}

0 commit comments

Comments
 (0)