diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2020-03-31 10:20:59 -0400 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2020-03-31 10:36:54 -0400 |
commit | 0bae7ba256acaf48aa7c1d586fdad8e9fc43b4cd (patch) | |
tree | 4446e1fcecffbdf8c2eab0591174987abdb576e0 /compiler/GHC/Core/Coercion.hs | |
parent | f024b6e385bd1448968b7bf20de05f655c815bae (diff) | |
download | haskell-wip/T17313.tar.gz |
Clean up "Eta reduction for data families" Noteswip/T17313
Before, there were two distinct Notes named
"Eta reduction for data families". This renames one of them to
"Implementing eta reduction for data families" to disambiguate the
two and fixes references in other parts of the codebase to ensure
that they are pointing to the right place.
Fixes #17313.
[ci skip]
Diffstat (limited to 'compiler/GHC/Core/Coercion.hs')
-rw-r--r-- | compiler/GHC/Core/Coercion.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Coercion.hs b/compiler/GHC/Core/Coercion.hs index 06de44f65b..ea9a21d2aa 100644 --- a/compiler/GHC/Core/Coercion.hs +++ b/compiler/GHC/Core/Coercion.hs @@ -245,7 +245,7 @@ ppr_co_ax_branch ppr_rhs fam_tc branch -- Eta-expand LHS and RHS types, because sometimes data family -- instances are eta-reduced. - -- See Note [Eta reduction for data families] in GHC.Core.FamInstEnv. + -- See Note [Eta reduction for data families] in GHC.Core.Coercion.Axiom. (ee_tvs, ee_lhs, ee_rhs) = etaExpandCoAxBranch branch pp_lhs = pprIfaceTypeApp topPrec (toIfaceTyCon fam_tc) |