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
Showing
- compiler/rename/RnEnv.hs 110 additions, 21 deletionscompiler/rename/RnEnv.hs
- compiler/rename/RnPat.hs 9 additions, 62 deletionscompiler/rename/RnPat.hs
- testsuite/tests/rename/should_compile/T14747.hs 9 additions, 0 deletionstestsuite/tests/rename/should_compile/T14747.hs
- testsuite/tests/rename/should_compile/T14747A.hs 5 additions, 0 deletionstestsuite/tests/rename/should_compile/T14747A.hs
- testsuite/tests/rename/should_compile/T15149.hs 5 additions, 0 deletionstestsuite/tests/rename/should_compile/T15149.hs
- testsuite/tests/rename/should_compile/T15149A.hs 4 additions, 0 deletionstestsuite/tests/rename/should_compile/T15149A.hs
- testsuite/tests/rename/should_compile/T15149B.hs 4 additions, 0 deletionstestsuite/tests/rename/should_compile/T15149B.hs
- testsuite/tests/rename/should_compile/T15149C.hs 4 additions, 0 deletionstestsuite/tests/rename/should_compile/T15149C.hs
- testsuite/tests/rename/should_compile/all.T 2 additions, 0 deletionstestsuite/tests/rename/should_compile/all.T
- testsuite/tests/rename/should_fail/T8448.stderr 5 additions, 1 deletiontestsuite/tests/rename/should_fail/T8448.stderr
Loading
Please register or sign in to comment