Axe ModFinderCache, folding it into a generalized FinderCache.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 27 Jan 2015 23:55:52 +0000 (15:55 -0800)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 24 Feb 2015 21:58:54 +0000 (13:58 -0800)
commitea3b4cfff397312429626be4a45f9969ff9a0b0e
tree0987f23d105ab0e1209aebc8c9b41ce4c1c7cf2c
parent7a3d7c0ecdb79ada44cb700fdca3d54beca96476
Axe ModFinderCache, folding it into a generalized FinderCache.

Summary:
FinderCache is now keyed by a module, ModuleNames in the home package are
turned into Modules using thisPackage in the dynamic flags.  Simplifies some
code!

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: simonpj, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D634
compiler/main/Finder.hs
compiler/main/HscMain.hs
compiler/main/HscTypes.hs