Fix a name-space problem with promotion
Trac #12686 showed that we were allowing a term variable into a type, by promotion. I chose to squash this in the renamer.
Showing
- compiler/rename/RnEnv.hs 25 additions, 1 deletioncompiler/rename/RnEnv.hs
- testsuite/tests/rename/should_fail/T12686.hs 13 additions, 0 deletionstestsuite/tests/rename/should_fail/T12686.hs
- testsuite/tests/rename/should_fail/T12686.stderr 4 additions, 0 deletionstestsuite/tests/rename/should_fail/T12686.stderr
- testsuite/tests/rename/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/rename/should_fail/all.T
Loading
Please register or sign in to comment