Fix import error with -XPackageImports when the module has a duplicate name
authorEugene Akentyev <ak3ntev@gmail.com>
Mon, 24 Jul 2017 23:53:57 +0000 (19:53 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 25 Jul 2017 01:06:13 +0000 (21:06 -0400)
commit2183ac16a98146bb673b5530ca154499a1c6166e
tree14df40c0b9ea72825ee34586a3a69354715810ad
parent8ec7770886a23da86e59ddfa112dcc6b050d088c
Fix import error with -XPackageImports when the module has a duplicate name

Reviewers: austin, bgamari, mpickering

Reviewed By: bgamari

Subscribers: mpickering, rwbarton, thomie

GHC Trac Issues: #13168

Differential Revision: https://phabricator.haskell.org/D3738
compiler/typecheck/TcRnDriver.hs
testsuite/tests/typecheck/T13168/all.T