summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2022-11-28 15:36:25 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-11-30 09:32:03 -0500
commita9d9b8c0458e838f331ead62dca272665ecbf20d (patch)
tree423877074f00e2ac8d690dd2fde71fa60cb58002 /testsuite/tests/safeHaskell
parenta3a8e9e968ff9b10c6785d53a5f1c8fcef6db72b (diff)
downloadhaskell-a9d9b8c0458e838f331ead62dca272665ecbf20d.tar.gz
Use mkNakedFunTy in tcPatSynSig
As #22521 showed, in tcPatSynSig we make a "fake type" to kind-generalise; and that type has unzonked type variables in it. So we must not use `mkFunTy` (which checks FunTy's invariants) via `mkPhiTy` when building this type. Instead we need to use `mkNakedFunTy`. Easy fix.
Diffstat (limited to 'testsuite/tests/safeHaskell')
0 files changed, 0 insertions, 0 deletions