Refactor HsExpr.RecordCon, RecordUpd
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 18 Nov 2015 15:57:13 +0000 (15:57 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 18 Nov 2015 15:57:13 +0000 (15:57 +0000)
commit07eb258dfcbf8a67e4e931397128b7255356d19e
tree434236f7b00ba7481247edf1a7e79306c8d093c4
parent8e8d26ace7576e4bd90eb342e1a175a00b730b12
Refactor HsExpr.RecordCon, RecordUpd

This follows Matthew's patch making pattern synoyms work
with records.

This patch
 - replaces the (PostTc id [FieldLabel]) field of
   RecordCon with (PostTc id ConLike)

 - record-ises both RecordCon and RecordUpd, which
   both have quite a lot of fields.

No change in behaviour
compiler/deSugar/Coverage.hs
compiler/deSugar/DsExpr.hs
compiler/deSugar/DsMeta.hs
compiler/hsSyn/Convert.hs
compiler/hsSyn/HsExpr.hs
compiler/hsSyn/PlaceHolder.hs
compiler/parser/RdrHsSyn.hs
compiler/rename/RnExpr.hs
compiler/typecheck/TcExpr.hs
compiler/typecheck/TcHsSyn.hs