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

On branch  : type-nats

http://hackage.haskell.org/trac/ghc/changeset/8983d34296865faa0c65bc4a15864e91ec5aab6a

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

commit 8983d34296865faa0c65bc4a15864e91ec5aab6a
Author: Iavor S. Diatchki <[email protected]>
Date:   Sun Mar 18 15:00:33 2012 -0700

    Update error message for malformed sub-ordinates.
    
    To make the parsing task a bit simpler, we allow sub-ordinate names
    on all imports/exports.  Because of this, malformed exports,
    such as `map(..)`  are not reported as a parsing error but, rather,
    they are detected in a later pass as an export of a missing type/class
    `map`.

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

 tests/module/mod89.stderr |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/module/mod89.stderr b/tests/module/mod89.stderr
index ddf38b0..c4eb78e 100644
--- a/tests/module/mod89.stderr
+++ b/tests/module/mod89.stderr
@@ -1,2 +1,2 @@
 
-mod89.hs:3:19: parse error on input `('
+mod89.hs:3:16: Module `Prelude' does not export `map(..)'



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

Reply via email to