diff options
| author | Facundo DomÃnguez <facundo.dominguez@tweag.io> | 2016-09-01 11:00:08 -0300 |
|---|---|---|
| committer | Facundo DomÃnguez <facundo.dominguez@tweag.io> | 2016-09-05 10:34:02 -0300 |
| commit | 71dd6e4429833238bcdaf96da8e2e41a62dacbf4 (patch) | |
| tree | 4145128b819f52b9fd8bf57d9d5d486eeba88110 /compiler/utils | |
| parent | cdbb9da7a1330366678c4e29d11a48e591c1ac1e (diff) | |
| download | haskell-71dd6e4429833238bcdaf96da8e2e41a62dacbf4.tar.gz | |
Don't ignore addTopDecls in module finalizers.
Summary:
Module finalizer could call addTopDecls, however, the declarations
added in this fashion were ignored. This patch makes sure to rename,
type check and incorporate this declarations.
Because a declaration may include a splice which calls addModFinalizer,
the list of finalizers is repeteadly checked after adding declarations
until no more finalizers remain.
Test Plan: ./validate
Reviewers: bgamari, goldfire, simonpj, austin
Reviewed By: bgamari, simonpj
Subscribers: simonmar, mboes, thomie
Differential Revision: https://phabricator.haskell.org/D2505
GHC Trac Issues: #12559
Diffstat (limited to 'compiler/utils')
0 files changed, 0 insertions, 0 deletions
