[commit: ghc] master: Unbreak build with ghc-7.10.1 (2b61f52)

git at git.haskell.org git at git.haskell.org
Tue Jan 17 21:37:57 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2b61f52a0d0d636fb468756728c3ee0f5def8304/ghc

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

commit 2b61f52a0d0d636fb468756728c3ee0f5def8304
Author: Yuras Shumovich <shumovichy at gmail.com>
Date:   Tue Jan 17 15:55:59 2017 -0500

    Unbreak build with ghc-7.10.1
    
    Test Plan: build with ghc-7.10.1
    
    Reviewers: austin, bgamari, dfeuer
    
    Reviewed By: dfeuer
    
    Subscribers: dfeuer, thomie
    
    Differential Revision: https://phabricator.haskell.org/D2976
    
    GHC Trac Issues: #13120


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

2b61f52a0d0d636fb468756728c3ee0f5def8304
 compiler/utils/Util.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compiler/utils/Util.hs b/compiler/utils/Util.hs
index d5c6e2a..5c09959 100644
--- a/compiler/utils/Util.hs
+++ b/compiler/utils/Util.hs
@@ -123,7 +123,9 @@ module Util (
         hashString,
 
         -- * Call stacks
+#if MIN_VERSION_GLASGOW_HASKELL(7,10,2,0)
         GHC.Stack.CallStack,
+#endif
         HasCallStack,
         HasDebugCallStack,
         prettyCurrentCallStack,



More information about the ghc-commits mailing list