Make interface loading for COMPLETE pragmas lazy
authorMatthew Pickering <matthewtpickering@gmail.com>
Thu, 2 Feb 2017 03:54:31 +0000 (22:54 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 2 Feb 2017 04:37:48 +0000 (23:37 -0500)
commitb16239a95b730dd2d6fc0dbb18c8430669f2c187
tree8dd69e07a13b4db470c0e6b554b545e5114a929a
parent1fcede43d2b30f33b7505e25eb6b1f321be0407f
Make interface loading for COMPLETE pragmas lazy

Without this additional laziness we will loop forever trying
to find the definitions of the conlikes referenced in the pragma.

Fixes #13188

Reviewers: austin, RyanGlScott, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3058

GHC Trac Issues: #13188
compiler/iface/TcIface.hs