[commit: ghc] master: Pass -dsuppress-uniques when running T14507 (452dee3)
git at git.haskell.org
git at git.haskell.org
Mon Jan 22 19:20:24 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/452dee3ff4f385977e56ac0fbb5adf0a90acbcac/ghc
>---------------------------------------------------------------
commit 452dee3ff4f385977e56ac0fbb5adf0a90acbcac
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date: Mon Jan 22 14:16:12 2018 -0500
Pass -dsuppress-uniques when running T14507
Not doing so resulted in different uniques being printed on different
environments, as shown in #14703.
>---------------------------------------------------------------
452dee3ff4f385977e56ac0fbb5adf0a90acbcac
testsuite/tests/patsyn/should_fail/T14507.stderr | 2 +-
testsuite/tests/patsyn/should_fail/all.T | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testsuite/tests/patsyn/should_fail/T14507.stderr b/testsuite/tests/patsyn/should_fail/T14507.stderr
index 2ed89cb..cec70df 100644
--- a/testsuite/tests/patsyn/should_fail/T14507.stderr
+++ b/testsuite/tests/patsyn/should_fail/T14507.stderr
@@ -2,7 +2,7 @@
T14507.hs:18:9: error:
• Iceland Jack! Iceland Jack! Stop torturing me!
Pattern-bound variable x :: TypeRep a
- has a type that mentions pattern-bound coercion: co_a2CF
+ has a type that mentions pattern-bound coercion: co
Hint: use -fprint-explicit-coercions to see the coercions
Probable fix: add a pattern signature
• In the declaration for pattern synonym ‘SO’
diff --git a/testsuite/tests/patsyn/should_fail/all.T b/testsuite/tests/patsyn/should_fail/all.T
index 2b3b85b..0f4c608 100644
--- a/testsuite/tests/patsyn/should_fail/all.T
+++ b/testsuite/tests/patsyn/should_fail/all.T
@@ -41,4 +41,4 @@ test('T14114', normal, compile_fail, [''])
test('T14380', normal, compile_fail, [''])
test('T14498', normal, compile_fail, [''])
test('T14552', normal, compile_fail, [''])
-test('T14507', normal, compile_fail, [''])
+test('T14507', normal, compile_fail, ['-dsuppress-uniques'])
More information about the ghc-commits
mailing list