diff options
| author | Sylvain Henry <sylvain@haskus.fr> | 2020-01-02 19:13:44 +0100 |
|---|---|---|
| committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-01-06 18:39:22 -0500 |
| commit | 99a9f51bf8207c79241fc0b685fadeb222a61292 (patch) | |
| tree | 63daf74031c47b7a680477a21bba505bf2d32701 /compiler/main/DynFlags.hs | |
| parent | 5ffea0c6c6a2670fd6819540f3ea61ce6620caaa (diff) | |
| download | haskell-99a9f51bf8207c79241fc0b685fadeb222a61292.tar.gz | |
Module hierarchy: Iface (cf #13009)
Diffstat (limited to 'compiler/main/DynFlags.hs')
| -rw-r--r-- | compiler/main/DynFlags.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 94cee4a7cd..72da94cb44 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -4787,7 +4787,7 @@ didn't. Reason was: * Eta reduction wasn't happening in the simplifier, but it was happening in CorePrep, on $fBla = MkDict (/\a. K a) - * Result: rhsIsStatic told TidyPgm that $fBla might have CAF refs + * Result: rhsIsStatic told GHC.Iface.Tidy that $fBla might have CAF refs but the eta-reduced version (MkDict K) obviously doesn't Simple solution: just let the simplifier do eta-reduction even in -O0. After all, CorePrep does it unconditionally! Not a big deal, but |
