summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2019-03-06 14:42:02 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-07 14:07:49 -0500
commit068b7e983f4a0b35f453aa5e609998efd0c3f334 (patch)
tree7a0372414b520722b1168fa9b5e15afcdb821caf /utils
parent7a68254a7284db5bf8f1fa82aba4a6825d8f050a (diff)
downloadhaskell-068b7e983f4a0b35f453aa5e609998efd0c3f334.tar.gz
Fix #16391 by using occCheckExpand in TcValidity
The type-variables-escaping-their-scope-via-kinds check in `TcValidity` was failing to properly expand type synonyms, which led to #16391. This is easily fixed by using `occCheckExpand` before performing the validity check. Along the way, I refactored this check out into its own function, and sprinkled references to Notes to better explain all of the moving parts. Many thanks to @simonpj for the suggestions. Bumps the haddock submodule.
Diffstat (limited to 'utils')
m---------utils/haddock0
1 files changed, 0 insertions, 0 deletions
diff --git a/utils/haddock b/utils/haddock
-Subproject 07f2ca98fd4249dc6ebad053bd6aef90c814efe
+Subproject e7586f005aa89a45b0fc4f3564f0f17ab9f79d3