[GHC] #10407: git head no longer builds with ghc < 7.10
#10407: git head no longer builds with ghc < 7.10 -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Building GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- Building git head after commit 4fffbc34c0 with ghc-7.8 or ghc-7.6 I get: {{{ compiler/typecheck/TcInteract.hs:2034:13: Not in scope: ‘<$>’ Perhaps you meant one of these: ‘TcM.<$>’ (imported from TcRnMonad), ‘<+>’ (imported from Outputable), ‘TcM.<*>’ (imported from TcRnMonad) compiler/typecheck/TcInteract.hs:2034:29: Not in scope: ‘<$>’ Perhaps you meant one of these: ‘TcM.<$>’ (imported from TcRnMonad), ‘<+>’ (imported from Outputable), ‘TcM.<*>’ (imported from TcRnMonad) }}} The `<$>` operator is only available by default in ghc 7.10 and later. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10407> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10407: git head no longer builds with ghc < 7.10 -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Erik de Castro Lopo <erikd@…>): In [changeset:"c119a8020f4e3073460e2c350507d5cf65771cea/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="c119a8020f4e3073460e2c350507d5cf65771cea" Use fmap instead of <$> (Fixes #10407) The <$> operator is only available in the standard Prelude in ghc 7.10 and later. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> Test Plan: build with ghc-7.6 Reviewers: dterei, ezyang, austin Subscribers: bgamari, thomie Differential Revision: https://phabricator.haskell.org/D886 GHC Trac Issues: #10407 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10407#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10407: git head no longer builds with ghc < 7.10 -------------------------------------+------------------------------------- Reporter: erikd | Owner: erikd Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.11 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by erikd): * status: new => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10407#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC