We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077d587 commit ed5a0ceCopy full SHA for ed5a0ce
ghcide/src/Development/IDE/Plugin/Completions.hs
@@ -142,7 +142,11 @@ getCompletionsLSP ide plId
142
let compls = (fst <$> localCompls) <> (fst <$> nonLocalCompls) <> Just exportsCompls <> Just lModules
143
144
-- get HieAst if OverloadedRecordDot is enabled
145
+#if MIN_VERSION_ghc(9,2,0)
146
let uses_overloaded_record_dot (ms_hspp_opts . msrModSummary -> dflags) = xopt LangExt.OverloadedRecordDot dflags
147
+#else
148
+ let uses_overloaded_record_dot _ = False
149
+#endif
150
ms <- fmap fst <$> useWithStaleFast GetModSummaryWithoutTimestamps npath
151
astres <- case ms of
152
Just ms' -> if uses_overloaded_record_dot ms'
0 commit comments