summaryrefslogtreecommitdiff
path: root/compiler/basicTypes/IdInfo.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2015-11-07 23:46:03 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2015-11-07 23:46:41 +0000
commit22080113f02f6644e2a0e3ce8adb1502346ab3b4 (patch)
tree34b6f17711855e9ddf93c13b6f06840e2b0915b9 /compiler/basicTypes/IdInfo.hs
parentbe8858570274821546ccabf75fe01c3dad80e337 (diff)
downloadhaskell-22080113f02f6644e2a0e3ce8adb1502346ab3b4.tar.gz
Remove PatSynBuilderId
Summary: It was only used to pass field labels between the typechecker and desugarer. Instead we add an extra field the RecordCon to carry this information. Reviewers: austin, goldfire, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1443 GHC Trac Issues: #11057
Diffstat (limited to 'compiler/basicTypes/IdInfo.hs')
-rw-r--r--compiler/basicTypes/IdInfo.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/basicTypes/IdInfo.hs b/compiler/basicTypes/IdInfo.hs
index ea1eb19c35..94d34419a2 100644
--- a/compiler/basicTypes/IdInfo.hs
+++ b/compiler/basicTypes/IdInfo.hs
@@ -122,8 +122,6 @@ data IdDetails
-- a) to support isImplicitId
-- b) when desugaring a RecordCon we can get
-- from the Id back to the data con]
- | PatSynBuilderId PatSyn -- ^ As for DataConWrapId
-
| ClassOpId Class -- ^ The 'Id' is a superclass selector,
-- or class operation of a class
@@ -188,7 +186,6 @@ pprIdDetails other = brackets (pp other)
pp (RecSelId { sel_naughty = is_naughty })
= brackets $ ptext (sLit "RecSel")
<> ppWhen is_naughty (ptext (sLit "(naughty)"))
- pp (PatSynBuilderId _) = ptext (sLit "PatSynBuilder")
{-
************************************************************************