[commit: ghc] wip/rae-new-coercible: Test T9117 in typecheck/should_compile/T9117_3 (f996b54)
git at git.haskell.org
git at git.haskell.org
Tue Dec 2 20:44:11 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/rae-new-coercible
Link : http://ghc.haskell.org/trac/ghc/changeset/f996b542db52570484108c5d4689ea33d08bcbd0/ghc
>---------------------------------------------------------------
commit f996b542db52570484108c5d4689ea33d08bcbd0
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Mon Dec 1 20:19:29 2014 -0500
Test T9117 in typecheck/should_compile/T9117_3
>---------------------------------------------------------------
f996b542db52570484108c5d4689ea33d08bcbd0
testsuite/tests/typecheck/should_compile/T9117_3.hs | 7 +++++++
testsuite/tests/typecheck/should_compile/all.T | 3 ++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/testsuite/tests/typecheck/should_compile/T9117_3.hs b/testsuite/tests/typecheck/should_compile/T9117_3.hs
new file mode 100644
index 0000000..64db035
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/T9117_3.hs
@@ -0,0 +1,7 @@
+module T9117_3 where
+
+import Data.Type.Coercion
+import Data.Coerce
+
+eta :: Coercible f g => Coercion (f a) (g a)
+eta = Coercion
diff --git a/testsuite/tests/typecheck/should_compile/all.T b/testsuite/tests/typecheck/should_compile/all.T
index e1f4c3f..445aaa2 100644
--- a/testsuite/tests/typecheck/should_compile/all.T
+++ b/testsuite/tests/typecheck/should_compile/all.T
@@ -421,7 +421,8 @@ test('MutRec', normal, compile, [''])
test('T8856', normal, compile, [''])
test('T9569a', normal, compile, [''])
test('T9117', normal, compile, [''])
-test('T9117_2', expect_broken('9117'), compile, [''])
+test('T9117_2', normal, compile, [''])
+test('T9117_3', normal, compile, [''])
test('T9708', normal, compile_fail, [''])
test('T9404', normal, compile, [''])
test('T9404b', normal, compile, [''])
More information about the ghc-commits
mailing list