Fix #16114 by adding a validity check to rnClsInstDecl
authorRyan Scott <ryan.gl.scott@gmail.com>
Tue, 15 Jan 2019 13:08:43 +0000 (08:08 -0500)
committerRyan Scott <ryan.gl.scott@gmail.com>
Tue, 15 Jan 2019 13:08:43 +0000 (08:08 -0500)
commit83a22066fbe136e4a984e8c90c1d3fd72b6ec4b9
treeabd9df501e567f4b8c11318604828ff692437983
parent69947d58c29cc0b047cc34fb4873e12f47e9674c
Fix #16114 by adding a validity check to rnClsInstDecl
compiler/rename/RnSource.hs
compiler/rename/RnTypes.hs
testsuite/tests/rename/should_fail/T16114.hs [new file with mode: 0644]
testsuite/tests/rename/should_fail/T16114.stderr [new file with mode: 0644]
testsuite/tests/rename/should_fail/T5951.stderr
testsuite/tests/rename/should_fail/all.T