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 =
351
351
Right (FileImport path) -> pure ([] , Just (modName, Just path))
352
352
Right PackageImport -> pure ([] , Nothing )
353
353
354
+ {- IS THIS REALLY NEEDED? DOESNT SEEM SO
355
+
354
356
-- does this module have an hs-boot file? If so add a direct dependency
355
357
let bootPath = toNormalizedFilePath' $ fromNormalizedFilePath file <.> "hs-boot"
356
358
boot <- use GetFileExists bootPath
@@ -360,6 +362,8 @@ getLocatedImportsRule =
360
362
loc <- liftIO $ mkHomeModLocation dflags modName (fromNormalizedFilePath bootPath)
361
363
return $ Just (noLoc modName, Just (ArtifactsLocation bootPath (Just loc) True))
362
364
else pure Nothing
365
+ -}
366
+ let bootArtifact = Nothing
363
367
364
368
let moduleImports = catMaybes $ bootArtifact : imports'
365
369
pure (concat diags, Just moduleImports)
You can’t perform that action at this time.
0 commit comments