[commit: testsuite] master: Wibbles to "main is not defined in Main" messagse (29e5308)

Simon Peyton Jones simonpj at microsoft.com
Tue Apr 16 17:45:52 CEST 2013


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

On branch  : master

https://github.com/ghc/testsuite/commit/29e53087ac8312d442c60538c25525aea0862bb8

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

commit 29e53087ac8312d442c60538c25525aea0862bb8
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Apr 15 17:40:16 2013 +0100

    Wibbles to "main is not defined in Main" messagse

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

 tests/module/T414.stderr                     |    3 +--
 tests/module/mod174.stderr                   |    2 +-
 tests/parser/should_fail/readFail021.stderr  |    2 +-
 tests/rename/should_fail/rnfail007.stderr    |    2 +-
 tests/typecheck/should_fail/tcfail030.stderr |    2 +-
 tests/typecheck/should_fail/tcfail199.stderr |    2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/tests/module/T414.stderr b/tests/module/T414.stderr
index b9af693..57d43af 100644
--- a/tests/module/T414.stderr
+++ b/tests/module/T414.stderr
@@ -1,3 +1,2 @@
 
-T414.hs:1:1:
-    The main function ‛main’ is not exported by module ‛Main’
+T414.hs:1:1: The IO action ‛main’ is not exported by module ‛Main’
diff --git a/tests/module/mod174.stderr b/tests/module/mod174.stderr
index 020f942..84fef99 100644
--- a/tests/module/mod174.stderr
+++ b/tests/module/mod174.stderr
@@ -1,3 +1,3 @@
 
 mod174.hs:1:1:
-    The main function ‛main’ is not exported by module ‛Main’
+    The IO action ‛main’ is not exported by module ‛Main’
diff --git a/tests/parser/should_fail/readFail021.stderr b/tests/parser/should_fail/readFail021.stderr
index ed55c0d..ee6889f 100644
--- a/tests/parser/should_fail/readFail021.stderr
+++ b/tests/parser/should_fail/readFail021.stderr
@@ -1,3 +1,3 @@
 
 readFail021.hs:1:1:
-    The function ‛main’ is not defined in module ‛Main’
+    The IO action ‛main’ is not defined in module ‛Main’
diff --git a/tests/rename/should_fail/rnfail007.stderr b/tests/rename/should_fail/rnfail007.stderr
index 316e141..9108173 100644
--- a/tests/rename/should_fail/rnfail007.stderr
+++ b/tests/rename/should_fail/rnfail007.stderr
@@ -1,3 +1,3 @@
 
 rnfail007.hs:1:1:
-    The function ‛main’ is not defined in module ‛Main’
+    The IO action ‛main’ is not defined in module ‛Main’
diff --git a/tests/typecheck/should_fail/tcfail030.stderr b/tests/typecheck/should_fail/tcfail030.stderr
index e0a8b49..1e0f08d 100644
--- a/tests/typecheck/should_fail/tcfail030.stderr
+++ b/tests/typecheck/should_fail/tcfail030.stderr
@@ -1,3 +1,3 @@
 
 tcfail030.hs:1:1:
-    The function ‛main’ is not defined in module ‛Main’
+    The IO action ‛main’ is not defined in module ‛Main’
diff --git a/tests/typecheck/should_fail/tcfail199.stderr b/tests/typecheck/should_fail/tcfail199.stderr
index 3e1df5e..660e69d 100644
--- a/tests/typecheck/should_fail/tcfail199.stderr
+++ b/tests/typecheck/should_fail/tcfail199.stderr
@@ -2,4 +2,4 @@
 tcfail199.hs:5:1:
     Couldn't match expected type ‛IO t0’ with actual type ‛[Char]’
     In the expression: main
-    When checking the type of the function ‛main’
+    When checking the type of the IO action ‛main’





More information about the ghc-commits mailing list