File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -645,8 +645,8 @@ getModulesPathsRule recorder = defineEarlyCutoff (cmapWithPrio LogShake recorder
645645
646646 (unzip -> (a, b)) <- flip mapM import_dirs $ \ (u, dyn) -> do
647647 (unzip -> (a, b)) <- flip mapM (importPaths dyn) $ \ dir' -> do
648- let dir = dropTrailingPathSeparator dir'
649- let predicate path = pure (path == dir || isUpper (head (takeFileName path)))
648+ let dir = normalise dir'
649+ let predicate path = pure (normalise path == dir || isUpper (head (takeFileName path)))
650650 let dir_number_directories = length (splitDirectories dir)
651651 let toModule file = mkModuleName (intercalate " ." $ drop dir_number_directories (splitDirectories (dropExtension file)))
652652
You can’t perform that action at this time.
0 commit comments