summaryrefslogtreecommitdiff
path: root/utils/hpc/Main.hs
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-17 18:09:18 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-17 18:17:27 +0100
commit801f4b98fa5198ab7e033949dd84aaae00162993 (patch)
tree4efda91a9cf063b614c47bd4cd8be44872f77469 /utils/hpc/Main.hs
parent86eff3d92ffa3c9be29e037c01fd9b3fec8976e7 (diff)
downloadhaskell-801f4b98fa5198ab7e033949dd84aaae00162993.tar.gz
hpc: use System.FilePath.(</>) instead of (++)
Summary: BAD: "." ++ "/" ++ "/absolute/path" == ".//absolute/path" GOOD: "." </> "/absolute/path" == "/absolute path" Also replace `++ ".ext"` with `<.> "ext"`. Although it doesn't fix any bugs in this instance, it might in some other. As a general rule it's better not to use (++) on FilePaths. Reviewed By: austin, hvr Differential Revision: https://phabricator.haskell.org/D703 GHC Trac Issues: #10138
Diffstat (limited to 'utils/hpc/Main.hs')
0 files changed, 0 insertions, 0 deletions