summaryrefslogtreecommitdiff
path: root/utils/hp2ps/Deviation.c
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@cs.brynmawr.edu>2019-01-24 10:22:58 -0500
committerBen Gamari <ben@smart-cactus.org>2019-02-20 14:28:55 -0500
commita53b2f45bd1c73a43b4df938790b177bc1ebf80d (patch)
tree585df8e9beab0da08305bbff6aba3574e9d9ee88 /utils/hp2ps/Deviation.c
parent3ac42326d7185e74fdf7529e5a589cade60093d2 (diff)
downloadhaskell-a53b2f45bd1c73a43b4df938790b177bc1ebf80d.tar.gz
Fix #14729 by making the normaliser homogeneous
This ports the fix to #12919 to the normaliser. (#12919 was about the flattener.) Because the fix is involved, this is done by moving the critical piece of code to Coercion, and then calling this from both the flattener and the normaliser. The key bit is: simplifying type families in a type is always a *homogeneous* operation. See #12919 for a discussion of why this is the Right Way to simplify type families. Also fixes #15549. test case: dependent/should_compile/T14729{,kind} typecheck/should_compile/T15549[ab] (cherry picked from commit 2b90356d26b4699227816ad9424e766eccdb6c36)
Diffstat (limited to 'utils/hp2ps/Deviation.c')
0 files changed, 0 insertions, 0 deletions