Skip to content

Commit f5f6995

Browse files
committed
Transform dots to path seps
1 parent 536b425 commit f5f6995

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Hie/Cabal/Parser.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ pathMain i p m o a =
121121
<|> (skipBlockLine i >> pathMain i p m o a)
122122
<|> pure
123123
( map (<//> m) p
124-
<> [ p' <//> (o' <> ".hs")
124+
<> [ p' <//> (o'' <> ".hs")
125125
| p' <- p,
126-
o' <- filter (`notElem` a) o
126+
o' <- filter (`notElem` a) o,
127+
let o'' = T.replace "." "/" o'
127128
]
128129
)
129130

0 commit comments

Comments
 (0)