diff options
author | Richard Eisenberg <eir@cis.upenn.edu> | 2015-06-08 15:57:33 -0400 |
---|---|---|
committer | Richard Eisenberg <eir@cis.upenn.edu> | 2015-06-16 14:22:51 -0400 |
commit | 0de0b14691e0b0789988332ad5addc2a31b09ba6 (patch) | |
tree | 19cd1fb41aa065a11b03d0e92a6355f83f9f5392 /testsuite/tests/typecheck/should_fail/T10495.hs | |
parent | c772f57e128e04415949f91f299ec9bcc60c4caf (diff) | |
download | haskell-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.hs | 5 |
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 |