diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-01-13 14:53:02 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-13 14:53:03 +0100 |
commit | ac3cf68c378410724973e64be7198bb8720a6809 (patch) | |
tree | 7c7868b4411f7062391df13af0a8f1e47d13266b /compiler/iface/BuildTyCl.hs | |
parent | d44bc5c061e3f0ba459f835aba683c0366187b74 (diff) | |
download | haskell-ac3cf68c378410724973e64be7198bb8720a6809.tar.gz |
Add missing type representations
Previously we were missing `Typeable` representations for several
wired-in types (and their promoted constructors). These include,
* `Nat`
* `Symbol`
* `':`
* `'[]`
Moreover, some constructors were incorrectly identified as being defined
in `GHC.Types` whereas they were in fact defined in `GHC.Prim`.
Ultimately this is just a temporary band-aid as there is general
agreement that we should eliminate the manual definition of these
representations entirely.
Test Plan: Validate
Reviewers: austin, hvr
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1769
GHC Trac Issues: #11120
Diffstat (limited to 'compiler/iface/BuildTyCl.hs')
-rw-r--r-- | compiler/iface/BuildTyCl.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/iface/BuildTyCl.hs b/compiler/iface/BuildTyCl.hs index 876c9c008d..0015e01278 100644 --- a/compiler/iface/BuildTyCl.hs +++ b/compiler/iface/BuildTyCl.hs @@ -18,8 +18,7 @@ module BuildTyCl ( import IfaceEnv import FamInstEnv( FamInstEnvs, mkNewTypeCoAxiom ) -import TysWiredIn( isCTupleTyConName ) -import PrelNames( tyConRepModOcc ) +import TysWiredIn( isCTupleTyConName, tyConRepModOcc ) import DataCon import PatSyn import Var |