diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2017-02-12 22:36:19 -0800 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2017-02-17 16:47:28 -0800 |
commit | 89168849a781626fc794ae97375da979ac83bf96 (patch) | |
tree | 77853738762272af87275b56917fa465ba26331d /testsuite/tests/roles | |
parent | fd2d5b6de7493c2ff2ac76401ef296f575c52483 (diff) | |
download | haskell-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.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/roles/should_fail/T9204.stderr | 2 |
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. |