Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8dcd861

Browse files
committed
WIP: module name on windows
1 parent 8f54177 commit 8dcd861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ghcide/src/Development/IDE/Core/Compile.hs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ getModSummaryFromImports env fp _modTime mContents = do
11111111
modLoc <- liftIO $ if mod == mAIN_NAME
11121112
-- specially in tests it's common to have lots of nameless modules
11131113
-- mkHomeModLocation will map them to the same hi/hie locations
1114-
then mkHomeModLocation dflags (pathToModuleName fp) fp
1114+
then mkHomeModLocation dflags mod fp
11151115
else mkHomeModLocation dflags mod fp
11161116

11171117
let modl = mkHomeModule (hscHomeUnit ppEnv) mod

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /