[commit: testsuite] type-nats: Update error message for malformed sub-ordinates. (8983d34)
Iavor Diatchki
diatchki at galois.com
Mon Mar 19 00:43:27 CET 2012
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 <iavor.diatchki at gmail.com>
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(..)'
More information about the Cvs-ghc
mailing list