On Jun 24, 2014 1:36 PM, "Ian Lynagh" <igloo@earth.li> wrote:
>
> On Mon, Jun 23, 2014 at 12:58:16PM -0500, Christopher Rodrigues wrote:
> >
> > Additionally, is it ever valid to have a pair of .hi and .dyn_hi files with
> > different interface hashes?
>
> You can, for example, compile package foo the vanilla way with -O, and
> the dynamic way without -O. You'll then get mismatched hashes.
Also, any file that uses Template Haskell could potentially generate different code at each compilation. But IMHO this isn't something ghc should try to support.
John L.