X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FFinder.lhs;h=f50e12a53919295dd98310880592f23d4b637e52;hb=5952ef0dfd1a9eec38bd2756b37d040feb2b09d8;hp=0e36b104c3c4e6d9cda4954a95258454b7bb459f;hpb=84c481d9e65f0a8285fddd6100a20b2cc0826b08;p=ghc-hetmet.git diff --git a/compiler/main/Finder.lhs b/compiler/main/Finder.lhs index 0e36b10..f50e12a 100644 --- a/compiler/main/Finder.lhs +++ b/compiler/main/Finder.lhs @@ -481,7 +481,7 @@ mkStubPaths dflags mod location = let stubdir = stubDir dflags - mod_basename = dots_to_slashes (moduleNameString mod) + mod_basename = moduleNameSlashes mod src_basename = dropExtension $ expectJust "mkStubPaths" (ml_hs_file location) @@ -532,12 +532,6 @@ findObjectLinkable mod obj_fn obj_time = do 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 cannotFindModule :: DynFlags -> ModuleName -> FindResult -> SDoc