[commit: ghc] master: Use data con name instead of parent in lookupRecFieldOcc (7100850)
git at git.haskell.org
git at git.haskell.org
Fri Jun 15 18:58:56 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7100850eebb1c1aec0aaabca08915bac8b90e188/ghc
>---------------------------------------------------------------
commit 7100850eebb1c1aec0aaabca08915bac8b90e188
Author: Adam Gundry <adam at well-typed.com>
Date: Fri Jun 15 14:11:22 2018 -0400
Use data con name instead of parent in lookupRecFieldOcc
Test Plan: new tests rename/should_compile/{T14747,T15149}
Reviewers: simonpj, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #14747, #15149
Differential Revision: https://phabricator.haskell.org/D4821
>---------------------------------------------------------------
7100850eebb1c1aec0aaabca08915bac8b90e188
compiler/rename/RnEnv.hs | 131 +++++++++++++++++++----
compiler/rename/RnPat.hs | 71 ++----------
testsuite/tests/rename/should_compile/T14747.hs | 9 ++
testsuite/tests/rename/should_compile/T14747A.hs | 5 +
testsuite/tests/rename/should_compile/T15149.hs | 5 +
testsuite/tests/rename/should_compile/T15149A.hs | 4 +
testsuite/tests/rename/should_compile/T15149B.hs | 4 +
testsuite/tests/rename/should_compile/T15149C.hs | 4 +
testsuite/tests/rename/should_compile/all.T | 2 +
testsuite/tests/rename/should_fail/T8448.stderr | 6 +-
10 files changed, 157 insertions(+), 84 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 7100850eebb1c1aec0aaabca08915bac8b90e188
More information about the ghc-commits
mailing list