File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -351,6 +351,8 @@ getLocatedImportsRule =
351351 Right (FileImport path) -> pure ([] , Just (modName, Just path))
352352 Right PackageImport -> pure ([] , Nothing )
353353
354+ {- IS THIS REALLY NEEDED? DOESNT SEEM SO
355+
354356 -- does this module have an hs-boot file? If so add a direct dependency
355357 let bootPath = toNormalizedFilePath' $ fromNormalizedFilePath file <.> "hs-boot"
356358 boot <- use GetFileExists bootPath
@@ -360,6 +362,8 @@ getLocatedImportsRule =
360362 loc <- liftIO $ mkHomeModLocation dflags modName (fromNormalizedFilePath bootPath)
361363 return $ Just (noLoc modName, Just (ArtifactsLocation bootPath (Just loc) True))
362364 else pure Nothing
365+ -}
366+ let bootArtifact = Nothing
363367
364368 let moduleImports = catMaybes $ bootArtifact : imports'
365369 pure (concat diags, Just moduleImports)
You can’t perform that action at this time.
0 commit comments