[commit: ghc] master: testsuite: fix tcrun036 build against Prelude/Main 'traverse' clash (6a36636)

git at git.haskell.org git at git.haskell.org
Mon Oct 6 21:05:45 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6a36636489682a885f5be59ff1cb0372e23a19db/ghc

>---------------------------------------------------------------

commit 6a36636489682a885f5be59ff1cb0372e23a19db
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Mon Oct 6 21:43:42 2014 +0100

    testsuite: fix tcrun036 build against Prelude/Main 'traverse' clash
    
    Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>


>---------------------------------------------------------------

6a36636489682a885f5be59ff1cb0372e23a19db
 testsuite/tests/typecheck/should_run/tcrun036.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuite/tests/typecheck/should_run/tcrun036.hs b/testsuite/tests/typecheck/should_run/tcrun036.hs
index cef36a6..64fffb7 100644
--- a/testsuite/tests/typecheck/should_run/tcrun036.hs
+++ b/testsuite/tests/typecheck/should_run/tcrun036.hs
@@ -21,6 +21,8 @@
 
 module Main where
 
+import Prelude hiding (traverse)
+
 class Catalog c where
   traverse :: c -> Viewer -> IO ()
 



More information about the ghc-commits mailing list