summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T10495.hs
diff options
context:
space:
mode:
authorRichard Eisenberg <eir@cis.upenn.edu>2015-06-08 15:57:33 -0400
committerRichard Eisenberg <eir@cis.upenn.edu>2015-06-16 14:22:51 -0400
commit0de0b14691e0b0789988332ad5addc2a31b09ba6 (patch)
tree19cd1fb41aa065a11b03d0e92a6355f83f9f5392 /testsuite/tests/typecheck/should_fail/T10495.hs
parentc772f57e128e04415949f91f299ec9bcc60c4caf (diff)
downloadhaskell-0de0b14691e0b0789988332ad5addc2a31b09ba6.tar.gz
Fix #10495.
This change means that the intricate reasoning in TcErrors around getting messages just right for nominal equalities is skipped for representational equalities.
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T10495.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/T10495.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T10495.hs b/testsuite/tests/typecheck/should_fail/T10495.hs
new file mode 100644
index 0000000000..2573f51875
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T10495.hs
@@ -0,0 +1,5 @@
+module T10495 where
+
+import Data.Coerce
+
+foo = coerce