[Git][ghc/ghc][tdammers/wip/16615] Undo residual from earlier attempt

Tobias Dammers gitlab at gitlab.haskell.org
Mon Jun 17 13:21:42 UTC 2019



Tobias Dammers pushed to branch tdammers/wip/16615 at Glasgow Haskell Compiler / GHC


Commits:
b635afe8 by Tobias Dammers at 2019-06-17T13:17:25Z
Undo residual from earlier attempt

- - - - -


1 changed file:

- compiler/deSugar/DsBinds.hs


Changes:

=====================================
compiler/deSugar/DsBinds.hs
=====================================
@@ -374,8 +374,8 @@ makeCorePair dflags gbl_id is_default_method dict_arity rhs
 
   | otherwise
   = case inlinePragmaSpec inline_prag of
-          NoUserInline -> (gbl_id `setIdUnfolding` inlinable_unf, rhs)
-          NoInline     -> (gbl_id `setIdUnfolding` inlinable_unf, rhs)
+          NoUserInline -> (gbl_id, rhs)
+          NoInline     -> (gbl_id, rhs)
           Inlinable    -> (gbl_id `setIdUnfolding` inlinable_unf, rhs)
           Inline       -> inline_pair
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/b635afe84de669b44e3b8cbf023a0f4ec7af83ce

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/b635afe84de669b44e3b8cbf023a0f4ec7af83ce
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190617/b115f845/attachment-0001.html>


More information about the ghc-commits mailing list