diff options
author | Richard Eisenberg <rae@richarde.dev> | 2021-01-04 11:07:00 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-09 21:19:45 -0500 |
commit | c8c63dde01686a96af4dabcced78110368efaec3 (patch) | |
tree | b8801ecd61c343c18cf05fee157886e37554b244 /testsuite/tests/typecheck/should_compile/T17562b.hs | |
parent | f88fb8c7d803f9d3bf245fa4bd9c50f7a2bd3c5b (diff) | |
download | haskell-c8c63dde01686a96af4dabcced78110368efaec3.tar.gz |
Never Anyify during kind inference
See Note [Error on unconstrained meta-variables] in TcMType.
Close #17301
Close #17567
Close #17562
Close #15474
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T17562b.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T17562b.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T17562b.hs b/testsuite/tests/typecheck/should_compile/T17562b.hs new file mode 100644 index 0000000000..0d635d9248 --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/T17562b.hs @@ -0,0 +1,6 @@ +{-# LANGUAGE QuantifiedConstraints, MultiParamTypeClasses, TypeFamilies #-} +-- NB: No PolyKinds + +module T17562b where + +class (forall a. a b ~ a c) => C b c |