diff options
author | Takano Akio <tak@anoak.io> | 2016-09-05 15:52:37 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-09-05 16:59:49 -0400 |
commit | a7a960e43c34e40e1656fa1505605f756a44bb71 (patch) | |
tree | 4b57ff2da76b73667b7ad144ff52af9e5b9ba5b2 /utils/checkUniques | |
parent | 05b497ece50f508526d0906f675bdb4c8109d46a (diff) | |
download | haskell-a7a960e43c34e40e1656fa1505605f756a44bb71.tar.gz |
Make the test for #11108 less fragile
This change should close #11108 by fixing the test case.
This commit fixes two issues:
* Make sure that each weak pointer we allocate has a constructor as the
key, not a thunk. A failure to do so meant these weak pointers died
prematurely on the 'ghci' WAY.
* Don't print anything in the finalizer, because they are not guaranteed
to run.
Test Plan: validate
Reviewers: austin, simonmar, erikd, bgamari
Reviewed By: erikd, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2512
GHC Trac Issues: #11108
Diffstat (limited to 'utils/checkUniques')
0 files changed, 0 insertions, 0 deletions