Fix #11624, cannot declare hs-boot if already one in scope.
I'm not sure if this fix is the "right way" to do it, but it solves the proximal problem, which is that lookupBindGroupOcc was picking out the wrong renaming for hs-boot signatures, which then lead to an interface file error. Signed-off-by:Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: validate Reviewers: simonpj, hvr, austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1963 GHC Trac Issues: #11624
Showing
- compiler/rename/RnBinds.hs 7 additions, 15 deletionscompiler/rename/RnBinds.hs
- compiler/rename/RnEnv.hs 2 additions, 2 deletionscompiler/rename/RnEnv.hs
- compiler/rename/RnSource.hs 7 additions, 1 deletioncompiler/rename/RnSource.hs
- testsuite/tests/driver/sigof02/all.T 4 additions, 4 deletionstestsuite/tests/driver/sigof02/all.T
- testsuite/tests/driver/sigof02/sigof02dmt.stderr 8 additions, 7 deletionstestsuite/tests/driver/sigof02/sigof02dmt.stderr
- testsuite/tests/driver/sigof02/sigof02dt.stderr 8 additions, 7 deletionstestsuite/tests/driver/sigof02/sigof02dt.stderr
- testsuite/tests/rename/should_compile/T11624.hs 4 additions, 0 deletionstestsuite/tests/rename/should_compile/T11624.hs
- testsuite/tests/rename/should_compile/T11624.hs-boot 3 additions, 0 deletionstestsuite/tests/rename/should_compile/T11624.hs-boot
- testsuite/tests/rename/should_compile/T11624.stderr 3 additions, 0 deletionstestsuite/tests/rename/should_compile/T11624.stderr
- testsuite/tests/rename/should_compile/T11624a.hs 4 additions, 0 deletionstestsuite/tests/rename/should_compile/T11624a.hs
- testsuite/tests/rename/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/rename/should_compile/all.T
Loading
Please register or sign in to comment