summaryrefslogtreecommitdiff
path: root/compiler/main/SysTools.lhs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-01-30 16:37:54 +0000
committerIan Lynagh <ian@well-typed.com>2013-01-30 17:43:45 +0000
commite40299c36c48a41e97f05d7be17042034fd24007 (patch)
treecc5579e4ed16a3494fe05187f4e44572c7d847bd /compiler/main/SysTools.lhs
parent45df0266679dcf8b92142809fe4c8f4fcd1871cd (diff)
downloadhaskell-e40299c36c48a41e97f05d7be17042034fd24007.tar.gz
Use throwIO rather than throw
Diffstat (limited to 'compiler/main/SysTools.lhs')
-rw-r--r--compiler/main/SysTools.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs
index e648481cd3..40a7a25ccd 100644
--- a/compiler/main/SysTools.lhs
+++ b/compiler/main/SysTools.lhs
@@ -540,7 +540,7 @@ runClang dflags args = do
text ("Error running clang! you need clang installed to use the" ++
"LLVM backend") $+$
text "(or GHC tried to execute clang incorrectly)"
- throw err
+ throwIO err
)
-- | Figure out which version of LLVM we are running this session