[commit: ghc] master: Remove redundant parentheses (75f762c)
Ian Lynagh
igloo at ghc.haskell.org
Sat Jul 27 15:21:02 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/75f762c67b6b0e3f9d0823580958e709c1f0d7b1
>---------------------------------------------------------------
commit 75f762c67b6b0e3f9d0823580958e709c1f0d7b1
Author: Ian Lynagh <ian at well-typed.com>
Date: Sat Jul 27 12:08:10 2013 +0100
Remove redundant parentheses
>---------------------------------------------------------------
compiler/rename/RnNames.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/rename/RnNames.lhs b/compiler/rename/RnNames.lhs
index b45af87..203e1e2 100644
--- a/compiler/rename/RnNames.lhs
+++ b/compiler/rename/RnNames.lhs
@@ -968,7 +968,7 @@ rnExports explicit_mod exports
; let real_exports
| explicit_mod = exports
| ghcLink dflags == LinkInMemory = Nothing
- | otherwise = Just ([noLoc (IEVar main_RDR_Unqual)])
+ | otherwise = Just [noLoc (IEVar main_RDR_Unqual)]
-- ToDo: the 'noLoc' here is unhelpful if 'main'
-- turns out to be out of scope
More information about the ghc-commits
mailing list