diff options
author | Roland Senn <rsx@bluewin.ch> | 2018-12-07 23:22:40 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-12-07 23:22:50 -0500 |
commit | 57c9b1ae4cafd0ee763451f2d4bc10220eef9689 (patch) | |
tree | 722f03f041237dd4664c724a516fa3222fcadebb /testsuite/mk | |
parent | c5ced679a6f5421eb53acf1fd1d212088145c971 (diff) | |
download | haskell-57c9b1ae4cafd0ee763451f2d4bc10220eef9689.tar.gz |
Fix #15369: GHCi doesn't honor :set +c when loading for a second time
The decision to (re)collect the type info for a (re)loaded module is
now taken only by comparing the file timestamps of the .hs file of the
module. (Or form the .o file if the .hs file is missing).
If the file timestamp changes, we (re)collect the type info.
The timestamp of the processing time of the last collect is no longer
used.
Test Plan: make test TEST=T15369
Reviewers: alanz, hvr, monoidal, osa1, thomie, bgamari, tdammers
Reviewed By: tdammers
Subscribers: rwbarton, carter
GHC Trac Issues: #15369
Differential Revision: https://phabricator.haskell.org/D5376
Diffstat (limited to 'testsuite/mk')
0 files changed, 0 insertions, 0 deletions