Fix #10963 and #11975 by adding new cmds to GHCi.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sat, 23 Apr 2016 02:39:17 +0000 (22:39 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Thu, 23 Jun 2016 19:17:43 +0000 (15:17 -0400)
commit8035d1a5dc7290e8d3d61446ee4861e0b460214e
tree2e517feff25329abb942184ac4a7d20c9f77ba29
parent9a34bf1985035858ece043bf38b47b6ff4b88efb
Fix #10963 and #11975 by adding new cmds to GHCi.

See the user's guide entry or the Note [TcRnExprMode] in TcRnDriver.

Test cases: ghci/scripts/T{10963,11975}
18 files changed:
compiler/main/GHC.hs
compiler/main/HscMain.hs
compiler/main/InteractiveEval.hs
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcExpr.hs
compiler/typecheck/TcPatSyn.hs
compiler/typecheck/TcRnDriver.hs
compiler/typecheck/TcSimplify.hs
docs/users_guide/ghci.rst
ghc/GHCi/UI.hs
ghc/GHCi/UI/Info.hs
testsuite/tests/ghc-api/T8639_api.hs
testsuite/tests/ghci/scripts/T10963.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T10963.stderr [new file with mode: 0644]
testsuite/tests/ghci/scripts/T10963.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/T11975.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T11975.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/all.T