summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail')
-rw-r--r--testsuite/tests/typecheck/should_fail/T12035.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T12035j.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T12042.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T3468.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T9201.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr7
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail210.stderr2
7 files changed, 21 insertions, 13 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T12035.stderr b/testsuite/tests/typecheck/should_fail/T12035.stderr
index c6113ea207..375b94c95a 100644
--- a/testsuite/tests/typecheck/should_fail/T12035.stderr
+++ b/testsuite/tests/typecheck/should_fail/T12035.stderr
@@ -2,5 +2,7 @@
T12035.hs-boot:2:1: error:
Type constructor ‘T’ has conflicting definitions in the module
and its hs-boot file
- Main module: type T = Bool
- Boot file: data T
+ Main module: type T :: *
+ type T = Bool
+ Boot file: type T :: *
+ data T
diff --git a/testsuite/tests/typecheck/should_fail/T12035j.stderr b/testsuite/tests/typecheck/should_fail/T12035j.stderr
index c6113ea207..375b94c95a 100644
--- a/testsuite/tests/typecheck/should_fail/T12035j.stderr
+++ b/testsuite/tests/typecheck/should_fail/T12035j.stderr
@@ -2,5 +2,7 @@
T12035.hs-boot:2:1: error:
Type constructor ‘T’ has conflicting definitions in the module
and its hs-boot file
- Main module: type T = Bool
- Boot file: data T
+ Main module: type T :: *
+ type T = Bool
+ Boot file: type T :: *
+ data T
diff --git a/testsuite/tests/typecheck/should_fail/T12042.stderr b/testsuite/tests/typecheck/should_fail/T12042.stderr
index 3266a1fe11..ae3cf33ea7 100644
--- a/testsuite/tests/typecheck/should_fail/T12042.stderr
+++ b/testsuite/tests/typecheck/should_fail/T12042.stderr
@@ -5,5 +5,7 @@
T12042.hs-boot:2:1: error:
Type constructor ‘S’ has conflicting definitions in the module
and its hs-boot file
- Main module: type S = R
- Boot file: data S
+ Main module: type S :: *
+ type S = R
+ Boot file: type S :: *
+ data S
diff --git a/testsuite/tests/typecheck/should_fail/T3468.stderr b/testsuite/tests/typecheck/should_fail/T3468.stderr
index 0a0fec223b..c8aa7622f8 100644
--- a/testsuite/tests/typecheck/should_fail/T3468.stderr
+++ b/testsuite/tests/typecheck/should_fail/T3468.stderr
@@ -3,6 +3,8 @@ T3468.hs-boot:3:1: error:
Type constructor ‘Tool’ has conflicting definitions in the module
and its hs-boot file
Main module: type role Tool phantom
+ type Tool :: * -> *
data Tool d = forall a r. F a
- Boot file: data Tool
+ Boot file: type Tool :: *
+ data Tool
The types have different kinds
diff --git a/testsuite/tests/typecheck/should_fail/T9201.stderr b/testsuite/tests/typecheck/should_fail/T9201.stderr
index 28f2f1d391..5e8f0173c5 100644
--- a/testsuite/tests/typecheck/should_fail/T9201.stderr
+++ b/testsuite/tests/typecheck/should_fail/T9201.stderr
@@ -3,5 +3,4 @@ T9201.hs:6:17: error:
• Expected kind ‘x’, but ‘a’ has kind ‘y’
• In the first argument of ‘f’, namely ‘a’
In the second argument of ‘d’, namely ‘(f a)’
- In the type signature:
- ret :: d a (f a)
+ In the type signature: ret :: d a (f a)
diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr
index 13c9836c43..c868a1321e 100644
--- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr
+++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr
@@ -1,4 +1,5 @@
-UnliftedNewtypesFamilyKindFail1.hs:11:31:
- Expected a type, but ‘5’ has kind ‘GHC.Types.Nat’
- In the kind ‘5’
+
+UnliftedNewtypesFamilyKindFail1.hs:11:31: error:
+ • Expected a type, but ‘5’ has kind ‘GHC.Types.Nat’
+ • In the kind ‘5’
In the data family declaration for ‘DF’
diff --git a/testsuite/tests/typecheck/should_fail/tcfail210.stderr b/testsuite/tests/typecheck/should_fail/tcfail210.stderr
index 9df9b7ef8f..819a9524fb 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail210.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail210.stderr
@@ -1,3 +1,3 @@
-tcfail210.hs:4:31:
+tcfail210.hs:4:31: error:
Not in scope: type constructor or class ‘Constraint’