summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColten Webb <coltenwebb@gmail.com>2022-07-05 11:15:32 -0500
committerZubin Duggal <zubin.duggal@gmail.com>2022-07-26 16:28:49 +0530
commitbb2153b1d37502262d958b59a053c452feb9344d (patch)
tree31eacb2d8d9d98712db925fdd56b0d4985939760
parentab1b9d8f082527d07943a1d7c628a34c3ae1e528 (diff)
downloadhaskell-bb2153b1d37502262d958b59a053c452feb9344d.tar.gz
Compute record-dot-syntax types
Ensures type information for record-dot-syntax is included in HieASTs. See #21797 (cherry picked from commit 5434d1a355e127d44c6f116b4b7f8a1d254815d4)
-rw-r--r--compiler/GHC/Iface/Ext/Ast.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Iface/Ext/Ast.hs b/compiler/GHC/Iface/Ext/Ast.hs
index d27ba64085..8d699f25ac 100644
--- a/compiler/GHC/Iface/Ext/Ast.hs
+++ b/compiler/GHC/Iface/Ext/Ast.hs
@@ -779,7 +779,7 @@ instance HiePass p => HasType (LocatedA (HsExpr (GhcPass p))) where
HsRecFld{} -> False
HsOverLabel{} -> False
HsIPVar{} -> False
- XExpr (WrapExpr {}) -> False
+ XExpr (ExpansionExpr {}) -> False
_ -> True
data HiePassEv p where