summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/TyVarTvKinds2.stderr
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2018-08-16 17:16:44 -0700
committerJoachim Breitner <mail@joachim-breitner.de>2018-08-16 20:58:56 -0700
commita50244c6a87176a4df8d41e6a1a3f102ba129032 (patch)
treede2a30ccf4b74e2d503d666fb82da0a25b71be44 /testsuite/tests/polykinds/TyVarTvKinds2.stderr
parent5238f204482ac7f05f4e2d2e92576288cc00d42d (diff)
downloadhaskell-a50244c6a87176a4df8d41e6a1a3f102ba129032.tar.gz
Rename SigTv to TyVarTv (#15480)
because since #15050, these are no longer used in pattern SIGnatures, but still in other places where meta-variables should only be unified with TYpe VARiables. I also found mentions of `SigTv` in parts of the renamer and desugarer that do not seem to directly relate to `SigTv` as used in the type checker, but rather to uses of `forall a.` in type signatures. I renamed these to `ScopedTv`. Differential Revision: https://phabricator.haskell.org/D5074
Diffstat (limited to 'testsuite/tests/polykinds/TyVarTvKinds2.stderr')
-rw-r--r--testsuite/tests/polykinds/TyVarTvKinds2.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/TyVarTvKinds2.stderr b/testsuite/tests/polykinds/TyVarTvKinds2.stderr
new file mode 100644
index 0000000000..1a552883d2
--- /dev/null
+++ b/testsuite/tests/polykinds/TyVarTvKinds2.stderr
@@ -0,0 +1,6 @@
+
+TyVarTvKinds2.hs:7:48: error:
+ • Expected kind ‘k1’, but ‘b’ has kind ‘k2’
+ • In the second argument of ‘SameKind’, namely ‘b’
+ In the type ‘SameKind a b’
+ In the definition of data constructor ‘MkQ’