[GHC] #7962: "ghc -e <invalid expression>" should return non-zero exit status

GHC ghc-devs at haskell.org
Thu Nov 28 17:12:20 UTC 2013


#7962: "ghc -e <invalid expression>" should return non-zero exit status
------------------------------------+------------------------------------
        Reporter:  timmaxw          |            Owner:
            Type:  feature request  |           Status:  new
        Priority:  normal           |        Milestone:
       Component:  GHCi             |          Version:  7.6.2
      Resolution:                   |         Keywords:
Operating System:  Linux            |     Architecture:  Unknown/Multiple
 Type of failure:  Other            |       Difficulty:  Unknown
       Test Case:                   |       Blocked By:
        Blocking:                   |  Related Tickets:
------------------------------------+------------------------------------

Comment (by khyperia):

 Attached Simon's suggestion, and also some *possible* test files (which
 are, ironically, untested). I am not submitting them as a .patch because
 of their untested nature, and more of a "here's an example of what it
 might look like".

 Also, I thought it might be better if they go into testsuite/tests/ghc-e,
 not ghci.

 I'll go submit a ticket for the failing test suite now.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7962#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list