Fix #13947 by checking for unbounded names more
Commit 2484d4da accidentally dropped a call to `isUnboundName` in an important location. This re-adds it. Fixes #13947. Test Plan: make test TEST=T13947 Reviewers: adamgundry, austin, bgamari Reviewed By: adamgundry Subscribers: rwbarton, thomie GHC Trac Issues: #13947 Differential Revision: https://phabricator.haskell.org/D3718
Showing
- compiler/rename/RnTypes.hs 3 additions, 2 deletionscompiler/rename/RnTypes.hs
- testsuite/tests/rename/should_fail/T13947.hs 5 additions, 0 deletionstestsuite/tests/rename/should_fail/T13947.hs
- testsuite/tests/rename/should_fail/T13947.stderr 3 additions, 0 deletionstestsuite/tests/rename/should_fail/T13947.stderr
- testsuite/tests/rename/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/rename/should_fail/all.T
testsuite/tests/rename/should_fail/T13947.hs
0 → 100644
Please register or sign in to comment