Apply a missing substitution in mkEtaWW (#16979)

Authored by simonpj on Jul 26 2019, 6:19 PM.

Description

Apply a missing substitution in mkEtaWW (Trac #16979)

The mkEtaWW case for newtypes forgot to apply the substitution to
the newtype coercion, resulting in the Core Lint errors observed
in Trac #16979. Easily fixed.

Fixes Trac #16979.

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>
(cherry picked from commit 2829f6dab5e860e61dba970a536709380c9d993d)

Details

Committed
bgamariFri, Aug 9, 3:38 PM
Parents
rGHC0bce423c016a: Revert "Make scanr a good producer and consumer"
Branches
Unknown
Tags
Unknown