Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8b9fadb6
Commit
8b9fadb6
authored
Jan 22, 2008
by
Simon Marlow
Browse files
cleanup only
parent
68f7cd16
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/Finder.lhs
View file @
8b9fadb6
...
...
@@ -481,7 +481,7 @@ mkStubPaths dflags mod location
= let
stubdir = stubDir dflags
mod_basename =
dots_to_slashes (
moduleNameS
tring
mod
)
mod_basename = moduleNameS
lashes
mod
src_basename = dropExtension $ expectJust "mkStubPaths"
(ml_hs_file location)
...
...
@@ -531,12 +531,6 @@ findObjectLinkable mod obj_fn obj_time = do
then return (LM obj_time mod [DotO obj_fn, DotO stub_fn])
else return (LM obj_time mod [DotO obj_fn])
-- -----------------------------------------------------------------------------
-- Utils
dots_to_slashes :: String -> String
dots_to_slashes = map (\c -> if c == '.' then '/' else c)
-- -----------------------------------------------------------------------------
-- Error messages
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment