diff options
author | Zejun Wu <watashi@watashi.ws> | 2015-06-09 05:42:38 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-06-09 05:43:30 -0500 |
commit | 3b55659d4f54e503f4e550d762bc55a2650ed13d (patch) | |
tree | 6cec07bcb69d0d81da24ca5f4717f408f625a375 /ghc/ghc-bin.cabal.in | |
parent | a48167eaaa984fbdc1ad31c2c674058ba3669ac6 (diff) | |
download | haskell-3b55659d4f54e503f4e550d762bc55a2650ed13d.tar.gz |
Always force the exception in enqueued commands
`enqueueCommands` should always force exception in commands. Otherwise
the exception thrown in `:cmd` (e.g. `:cmd return $ head []`) will cause
GHCi to terminate with panic.
Test Plan: `cd testsuite/tests/ghci/ && make`
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D967
GHC Trac Issues: #10501
Diffstat (limited to 'ghc/ghc-bin.cabal.in')
-rw-r--r-- | ghc/ghc-bin.cabal.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in index b4fdf1022a..30eb7a758d 100644 --- a/ghc/ghc-bin.cabal.in +++ b/ghc/ghc-bin.cabal.in @@ -43,6 +43,7 @@ Executable ghc GHC-Options: -Wall if flag(ghci) + Build-depends: deepseq >= 1.4 && < 1.5 CPP-Options: -DGHCI GHC-Options: -fno-warn-name-shadowing Other-Modules: |