aboutsummaryrefslogtreecommitdiff
path: root/Utility/FileMode.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-29 13:43:11 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-29 13:43:11 -0400
commit0e4fbf76b8c00dc89dc3cf67b2ac8e3bfd20b332 (patch)
treed625c3d96e82449da16501d3d90a99268a8f9850 /Utility/FileMode.hs
parent702f1c93b5229920c136592f388cbe3bab73d54f (diff)
avoid dupicate bracket import errror
Ambiguous occurrence `bracket' It could refer to either `Control.Exception.bracket', imported from `Control.Exception' at Utility/FileMode.hs:14:27-33 (and originally defined in `Control.Exception.Base') or `Utility.Exception.bracket', imported from `Utility.Exception' at Utility/FileMode.hs:22:1-24 (and originally defined in `Control.Monad.Catch')
Diffstat (limited to 'Utility/FileMode.hs')
-rw-r--r--Utility/FileMode.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Utility/FileMode.hs b/Utility/FileMode.hs
index fd0fe07b5..672a2fa12 100644
--- a/Utility/FileMode.hs
+++ b/Utility/FileMode.hs
@@ -11,7 +11,6 @@ module Utility.FileMode where
import System.IO
import Control.Monad
-import Control.Exception (bracket)
import System.PosixCompat.Types
import Utility.PosixFiles
#ifndef mingw32_HOST_OS