summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2017-02-12 22:36:19 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2017-02-17 16:47:28 -0800
commit89168849a781626fc794ae97375da979ac83bf96 (patch)
tree77853738762272af87275b56917fa465ba26331d /testsuite/tests/roles
parentfd2d5b6de7493c2ff2ac76401ef296f575c52483 (diff)
downloadhaskell-89168849a781626fc794ae97375da979ac83bf96.tar.gz
Say 'data' explicitly in IfAbstractTyCon output.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'testsuite/tests/roles')
-rw-r--r--testsuite/tests/roles/should_fail/Roles12.stderr2
-rw-r--r--testsuite/tests/roles/should_fail/T9204.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/roles/should_fail/Roles12.stderr b/testsuite/tests/roles/should_fail/Roles12.stderr
index 7dff7f97ec..ac57e2bcbc 100644
--- a/testsuite/tests/roles/should_fail/Roles12.stderr
+++ b/testsuite/tests/roles/should_fail/Roles12.stderr
@@ -4,6 +4,6 @@ Roles12.hs:5:1: error:
and its hs-boot file
Main module: type role T phantom
data T a
- Boot file: abstract T a
+ Boot file: {- abstract -} data T a
The roles do not match.
Roles on abstract types default to ‘representational’ in boot files.
diff --git a/testsuite/tests/roles/should_fail/T9204.stderr b/testsuite/tests/roles/should_fail/T9204.stderr
index 721e74e74b..e5e99253fc 100644
--- a/testsuite/tests/roles/should_fail/T9204.stderr
+++ b/testsuite/tests/roles/should_fail/T9204.stderr
@@ -4,6 +4,6 @@ T9204.hs:6:1: error:
and its hs-boot file
Main module: type role D phantom
data D a
- Boot file: abstract D a
+ Boot file: {- abstract -} data D a
The roles do not match.
Roles on abstract types default to ‘representational’ in boot files.