[commit: testsuite] type-nats: Update error message: now 1 is a potentially valid type. (54ff6bc)

Iavor Diatchki diatchki at galois.com
Mon Mar 19 00:43:23 CET 2012


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

On branch  : type-nats

http://hackage.haskell.org/trac/ghc/changeset/54ff6bc5e5ae575c0e7076259ed3efe5c3919bfb

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

commit 54ff6bc5e5ae575c0e7076259ed3efe5c3919bfb
Author: Iavor S. Diatchki <iavor.diatchki at gmail.com>
Date:   Sun Mar 18 14:56:06 2012 -0700

    Update error message: now 1 is a potentially valid type.

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

 tests/typecheck/should_fail/tcfail094.stderr |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/typecheck/should_fail/tcfail094.stderr b/tests/typecheck/should_fail/tcfail094.stderr
index 8cd67b6..c5dcc17 100644
--- a/tests/typecheck/should_fail/tcfail094.stderr
+++ b/tests/typecheck/should_fail/tcfail094.stderr
@@ -1,2 +1,3 @@
 
-tcfail094.hs:7:14: parse error on input `1'
+tcfail094.hs:7:14:
+    Illegal literal in type (use -XDataKinds to enable): 1





More information about the Cvs-ghc mailing list