Fix #13947 by checking for unbounded names more
authorRyan Scott <ryan.gl.scott@gmail.com>
Tue, 11 Jul 2017 17:59:29 +0000 (13:59 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 11 Jul 2017 18:36:04 +0000 (14:36 -0400)
commit85ac65c5f0b057f1b07ed7bf9a8d9aeae4ce1390
tree4d4bc6e009791582e3f573c1f077fdbefc793674
parentba46e63f3d6f7d0438a0262f6711f8a219c703bc
Fix #13947 by checking for unbounded names more

Commit 2484d4dae65c81f218dcfe494b963b2630bb8fa6 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
compiler/rename/RnTypes.hs
testsuite/tests/rename/should_fail/T13947.hs [new file with mode: 0644]
testsuite/tests/rename/should_fail/T13947.stderr [new file with mode: 0644]
testsuite/tests/rename/should_fail/all.T