[commit: ghc] ghc-8.6: fixup! Fail fast on pattern synonyms (bc445eb)

git at git.haskell.org git at git.haskell.org
Wed Oct 17 18:45:14 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.6
Link       : http://ghc.haskell.org/trac/ghc/changeset/bc445eb908f405818bec1bd013b65f4d0726bf14/ghc

>---------------------------------------------------------------

commit bc445eb908f405818bec1bd013b65f4d0726bf14
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Oct 17 13:41:35 2018 -0400

    fixup! Fail fast on pattern synonyms


>---------------------------------------------------------------

bc445eb908f405818bec1bd013b65f4d0726bf14
 compiler/typecheck/TcRnDriver.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcRnDriver.hs b/compiler/typecheck/TcRnDriver.hs
index f96385e..4259b04 100644
--- a/compiler/typecheck/TcRnDriver.hs
+++ b/compiler/typecheck/TcRnDriver.hs
@@ -479,7 +479,7 @@ run_th_modfinalizers = do
       -- simplified, or some types might not be complete when using reify
       -- (see #12777).
       new_ev_binds <- {-# SCC "simplifyTop2" #-}
-                      simplifyTop (lie_th `andWC` lie_top_decls)
+                      simplifyTop lie
       addTopEvBinds new_ev_binds run_th_modfinalizers
         -- addTopDecls can add declarations which add new finalizers.
 



More information about the ghc-commits mailing list