diff options
Diffstat (limited to 'compiler/Language/Haskell/Syntax/Expr.hs')
-rw-r--r-- | compiler/Language/Haskell/Syntax/Expr.hs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/compiler/Language/Haskell/Syntax/Expr.hs b/compiler/Language/Haskell/Syntax/Expr.hs index ecc7c9f828..72c16fe22a 100644 --- a/compiler/Language/Haskell/Syntax/Expr.hs +++ b/compiler/Language/Haskell/Syntax/Expr.hs @@ -354,10 +354,9 @@ data HsExpr p -- For details on above see note [Api annotations] in GHC.Parser.Annotation | RecordCon - { rcon_ext :: XRecordCon p - , rcon_con_name :: LIdP p -- The constructor name; - -- not used after type checking - , rcon_flds :: HsRecordBinds p } -- The fields + { rcon_ext :: XRecordCon p + , rcon_con :: XRec p (ConLikeP p) -- The constructor + , rcon_flds :: HsRecordBinds p } -- The fields -- | Record update -- |