diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-11-07 14:31:15 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-11-13 07:06:49 -0500 |
commit | 2d4f9ad89cb7e79c1f90983bf4898a5f4e3c7457 (patch) | |
tree | 9c73c3ae3db627e91910929488b9076aa771409d /utils | |
parent | 535d0edc11e66a9a0bdfda676dd614833d86df68 (diff) | |
download | haskell-2d4f9ad89cb7e79c1f90983bf4898a5f4e3c7457.tar.gz |
Ensure that coreView/tcView are able to inline
Previously an import cycle between Type and TyCoRep meant that several
functions in TyCoRep ended up SOURCE import coreView. This is quite
unfortunate as coreView is intended to be fused into a larger pattern
match and not incur an extra call.
Fix this with a bit of restructuring:
* Move the functions in `TyCoRep` which depend upon things in `Type`
into `Type`
* Fold contents of `Kind` into `Type` and turn `Kind` into a simple
wrapper re-exporting kind-ish things from `Type`
* Clean up the redundant imports that popped up as a result
Closes #17441.
Metric Decrease:
T4334
Diffstat (limited to 'utils')
m--------- | utils/haddock | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/utils/haddock b/utils/haddock -Subproject b34ca2554a3440f092f585bb7fc1e9d4b2ca861 +Subproject e3c045f9265e39c1a77aa003bf35785e1871a9d |