summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2022-02-08 08:03:21 -0500
committerRyan Scott <ryan.gl.scott@gmail.com>2022-02-08 08:03:41 -0500
commit9af4138a567dd944cfe271b7bff7534b50de5db4 (patch)
treef05682f4e07222a2d3b362f896c0cc453c14c756 /config.sub
parentff867c460db9cfc43f5697c8e582f8c1ea4bd572 (diff)
downloadhaskell-wip/T21038.tar.gz
Look through untyped TH splices in tcInferAppHead_maybewip/T21038
Previously, surrounding a head expression with a TH splice would defeat `tcInferAppHead_maybe`, preventing some expressions from typechecking that used to typecheck in previous GHC versions (see #21038 for examples). This is simple enough to fix: just look through `HsSpliceE`s in `tcInferAppHead_maybe`. I've added some additional prose to `Note [Application chains and heads]` in `GHC.Tc.Gen.App` to accompany this change. Fixes #21038.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions