[GHC] #11478: ghc -e shouldn't print "Loaded GHCi configuration" message
#11478: ghc -e shouldn't print "Loaded GHCi configuration" message -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: rwbarton Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Phab:D1756 added a message when ghci loads a configuration file. But `ghc -e` is secretly ghci too, and we certainly shouldn't print the message then, since the output `ghc -e` is likely to be consumed by a shell script or the like. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11478> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11478: ghc -e shouldn't print "Loaded GHCi configuration" message -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: rwbarton Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1817 Wiki Page: | -------------------------------------+------------------------------------- Changes (by rwbarton): * differential: => Phab:D1817 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11478#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11478: ghc -e shouldn't print "Loaded GHCi configuration" message -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: rwbarton Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1817 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Reid Barton <rwbarton@…>): In [changeset:"9048c3dfee1c7c9171114c349714095b3abcc47a/ghc" 9048c3d/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="9048c3dfee1c7c9171114c349714095b3abcc47a" Don't print "Loaded GHCi configuration" message in ghc -e (#11478) Summary: Also don't print it if the user specifically requested non-verbose output with -v0. Since this means there is no longer any test that checks for the message, add such a test. Test Plan: validate Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1817 GHC Trac Issues: #11478 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11478#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11478: ghc -e shouldn't print "Loaded GHCi configuration" message -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: rwbarton Type: bug | Status: merge Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1817 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => merge -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11478#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11478: ghc -e shouldn't print "Loaded GHCi configuration" message -------------------------------------+------------------------------------- Reporter: rwbarton | Owner: rwbarton Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1817 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.0` as 70f01d0ec4953eff985c856f5c9c3179e96fa8eb. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11478#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC