[commit: ghc] master: Disable `-fdefer-out-of-scope-variables` in ghci. (4a93166)
git at git.haskell.org
git at git.haskell.org
Thu Jun 14 14:05:59 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4a931665e41be2621abe4458b64190123109b746/ghc
>---------------------------------------------------------------
commit 4a931665e41be2621abe4458b64190123109b746
Author: HE, Tao <sighingnow at gmail.com>
Date: Thu Jun 14 09:14:58 2018 -0400
Disable `-fdefer-out-of-scope-variables` in ghci.
We have already disabled `-fdefer-type-errors` and
`-fdefer-typed-holes` in ghci.
This patch disables `-fdefer-out-of-scope-variables` as well.
Fixes Trac #15259, as well as #14963.
Test Plan: make test TEST="T15259 T14963a T14963b T14963c"
Reviewers: bgamari, tdammers
Reviewed By: tdammers
Subscribers: tdammers, rwbarton, thomie, carter
GHC Trac Issues: #15259, #14963
Differential Revision: https://phabricator.haskell.org/D4830
>---------------------------------------------------------------
4a931665e41be2621abe4458b64190123109b746
compiler/typecheck/TcRnDriver.hs | 66 +++++++++++++++++++---
ghc/GHCi/UI.hs | 4 ++
testsuite/tests/ghci/scripts/T15259.script | 3 +
testsuite/tests/ghci/scripts/T15259.stderr | 2 +
testsuite/tests/ghci/scripts/all.T | 1 +
testsuite/tests/ghci/should_run/T14963a.hs | 2 +
.../T10248.script => should_run/T14963a.script} | 3 +-
.../tests/ghci/should_run/T14963a.stdout | 0
testsuite/tests/ghci/should_run/T14963b.hs | 2 +
.../T10248.script => should_run/T14963b.script} | 3 +-
.../tests/ghci/should_run/T14963b.stdout | 0
testsuite/tests/ghci/should_run/T14963c.hs | 4 ++
.../T10248.script => should_run/T14963c.script} | 3 +-
.../tests/ghci/should_run/T14963c.stdout | 0
testsuite/tests/ghci/should_run/all.T | 3 +
15 files changed, 86 insertions(+), 10 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 4a931665e41be2621abe4458b64190123109b746
More information about the ghc-commits
mailing list