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 54f043c commit 00f04caCopy full SHA for 00f04ca
ghcide/src/Development/IDE/Core/Rules.hs
@@ -1024,6 +1024,7 @@ getLinkableType f = use_ NeedsCompilation f
1024
1025
-- needsCompilationRule :: Rules ()
1026
needsCompilationRule :: NormalizedFilePath -> Action (IdeResultNoDiagnosticsEarlyCutoff (Maybe LinkableType))
1027
+needsCompilationRule file | "boot" `isSuffixOf` (fromNormalizedFilePath file) = pure (Just $ encodeLinkableType Nothing, Just Nothing)
1028
needsCompilationRule file = do
1029
graph <- useNoFile GetModuleGraph
1030
res <- case graph of
0 commit comments