Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e374e8c7b1bd683711ab791710145f402fe0d695

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

commit e374e8c7b1bd683711ab791710145f402fe0d695
Author: Paolo Capriotti <[email protected]>
Date:   Thu Aug 23 14:49:29 2012 +0100

    Remove rnfail038 test case
    
    Hiding a non-exported entity is not an error anymore.

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

 tests/rename/should_fail/all.T                 |    1 -
 tests/rename/should_fail/rnfail038.hs          |    4 ----
 tests/rename/should_fail/rnfail038.stderr      |    2 --
 tests/rename/should_fail/rnfail038.stderr-hugs |    1 -
 4 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/tests/rename/should_fail/all.T b/tests/rename/should_fail/all.T
index fece0ac..b9a3d13 100644
--- a/tests/rename/should_fail/all.T
+++ b/tests/rename/should_fail/all.T
@@ -36,7 +36,6 @@ test('rnfail035', normal, compile_fail, [''])
 # Missing:
 # test('rnfail037', normal, compile_fail, [''])
 
-test('rnfail038', normal, compile_fail, [''])
 test('rnfail039', normal, compile_fail, [''])
 
 test('rnfail040',
diff --git a/tests/rename/should_fail/rnfail038.hs 
b/tests/rename/should_fail/rnfail038.hs
deleted file mode 100644
index b96000a..0000000
--- a/tests/rename/should_fail/rnfail038.hs
+++ /dev/null
@@ -1,4 +0,0 @@
--- !!! It is now illegal to import a module hiding 
--- !!! an entity that it doesn't export
-module ShouldCompile where
-import Data.List hiding ( wibble )
diff --git a/tests/rename/should_fail/rnfail038.stderr 
b/tests/rename/should_fail/rnfail038.stderr
deleted file mode 100644
index 71c31d6..0000000
--- a/tests/rename/should_fail/rnfail038.stderr
+++ /dev/null
@@ -1,2 +0,0 @@
-
-rnfail038.hs:4:27: Module `Data.List' does not export `wibble'
diff --git a/tests/rename/should_fail/rnfail038.stderr-hugs 
b/tests/rename/should_fail/rnfail038.stderr-hugs
deleted file mode 100644
index ee3487e..0000000
--- a/tests/rename/should_fail/rnfail038.stderr-hugs
+++ /dev/null
@@ -1 +0,0 @@
-ERROR "rnfail038.hs" - Unknown entity "wibble" hidden from module "List"



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to